
disabling the macro security to execute a macro
Hi Reynard,
Your only other option is a template in the users STARTUP or user Templates
folder. These are both "trusted" locations
Quote:
> I've word XP and have a VB program who access word through the
> Word.Application object.
> This program open a word file and then execute a macro who is in this word
> file.
> The problem is that the security are set to high and then I can't execute
> it...
> I was thinking about setting the security to low through the word object
> AppWord.automationSecurity = msoAutomationSecurityLow
> then run the macro and set the security level back to high but in doesn't
> work
> Any idea how to come around this problem without having digitaly signed
> macro..
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister
http://www.mvps.org/word
http://go.compuserve.com/MSOfficeForum
This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)