Thread
:
vba check for disabled macros
View Single Post
#
1
Posted to microsoft.public.excel.programming
Ardus Petus
external usenet poster
Posts: 718
vba check for disabled macros
If user disabled macros, no VBA code will run (even to check macro enable
status)
Cheers,
--
AP
"Ray Maas" a écrit dans le message de news:
...
I have a macro that needs to run when my users open a spreadsheet.
Unfortunately, most of their security settings do not allow macros to run.
I know this cannot be overridden in VBA, that would defeat the purpose of
the security.
So how, in VBA, can I check to see if they have selected to disable
macros, then give them a messagebox that says something like "sorry, you
have to enable macros to use this application"?
Thanks,
Ray Maas
Reply With Quote
Ardus Petus
View Public Profile
Find all posts by Ardus Petus