Running a Macro that has been hidden?

dcarr

Trainee Database Analyst
Local time
Today, 21:15
Joined
Jun 19, 2002
Messages
112
Is it possible to run a macro that you have hidden (using the properties of the object) in code?

That is if I was to hide the macro then in the code write

docmd.runmacro "macroname that has been hidden"

would this execute or return an error?

Thanks
 
Execute.

"Hidden" is a property in the same class as "Format" options. You would get a different error message based on user rights, but hidden/visible is not a show-stopper for running something by name.
 

Users who are viewing this thread

Back
Top Bottom