Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Word
application.errors
conversions
docmanagement
drawing.graphics
formatting.longdocs
international
internet.assistant
mail
mailmerge.fields
menustoolbars
newusers
numbering
oleinterop
pagelayout
printingfonts
setup.networking
spelling.grammar
tables
vba.addins
vba.beginners
vba.customization
vba.general
vba.userforms
web.authoring
word6-7macros
word97vba
  
 
date: Wed, 29 Mar 2006 13:54:08 +0100,    group: microsoft.public.word.vba.addins        back       


macro security error trying to invoke a plug-in   
Hi,

I have written a MS word COM add-in using vb6, which creates a menu item and 
invokes the add-in when it is clicked.

It works on several of our PCs but on one users machine it always gives the 
following error when he tries to select the menu item:

"The macro cannot be found or has been disabled because of your macro 
security settings"

we have tried setting his macro security to low and still to no avail (mine 
is set to high and the plugin still works fine). he is using NAV but has 
disabled the office integration (and has also tried disabling the whole of 
NAV) but again he just gets the same error. All the PCs are using office 
2003.

I am using an add-in designer and have set the OnAction property of the 
CommandBarButton to "<!xxx>" where xxx is the progid of the designer. I 
can't beleive I have done anything wrong with the code because as I say it 
works on several other PCs. we can invoke the same progid via vbscript so I 
know everything is registered correctly

does anyone have any clues for the next thing to try?

Andy
date: Wed, 29 Mar 2006 13:54:08 +0100   author:   Andy Fish

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us