J
Jean-Guy Marcil
oc9ine said:Hi,
I have win xp sp3. I use Office 2003. I want to have certain things done
automatically
using Visual Basic for Applications in my Word documents for which I
require that Macro security be
set to lowest level or disabled for that period so that my required things
could be done in that
particular document. Besides I share my computer with family and I am my
computer's sole
administrator.
Can we disable macro security using Visual Basic for Applications scripting
in Word 2003? If Yes plz
provide example code ?
Can you imagine the huge security flaw that would exist if we could do that?
If you are using your own home computer and are the administrator, why don't
you just permanantly set the security to high and place your templates
containing macros in your "User Templates" folder as defined under Tools >
Options > File Locations?
This way, macros will run without any problems becasue it is a "trusted"
location.