S
Stephen sjw_ost
Hello again. I hope someone can help me with this question.
I am trying to use code to set the macro security on my databases to low
when the database is opened. Obviously, I will reverse this when the database
is closed.
I have tried using this code in the open event of my start up form;
CommandBars("Menu Bar")._
Controls("Tools")._
Controls("Macro")._
Controls("Security...")._
accDoDefaultAction
This code will open the macro security window but I have not been able to
figure out how to set the option to the low setting then click OK.
Can this code be used to perform this function?
Or, is there any code available to set the macro security?
I want to make this setting automatic so my users, or I, will not have to
make this change everytime they, or I, sit at a new desk and open one of my
databases
..
Thanks in advance for any help on this question.
I am trying to use code to set the macro security on my databases to low
when the database is opened. Obviously, I will reverse this when the database
is closed.
I have tried using this code in the open event of my start up form;
CommandBars("Menu Bar")._
Controls("Tools")._
Controls("Macro")._
Controls("Security...")._
accDoDefaultAction
This code will open the macro security window but I have not been able to
figure out how to set the option to the low setting then click OK.
Can this code be used to perform this function?
Or, is there any code available to set the macro security?
I want to make this setting automatic so my users, or I, will not have to
make this change everytime they, or I, sit at a new desk and open one of my
databases
..
Thanks in advance for any help on this question.