Question : What is the VBA to do this?

I nned to create a script that is tied to a button so upon clicking the button setting allowing macros are enabled.

How can this be done?

Thanks
Attachments:
 
 

Answer : What is the VBA to do this?

You cant do it inside VBA as otherwise  macros would already be enabled ..... you would need a vbscript to change the registry settings

Dave


Random Solutions  
 
programming4us programming4us