Question : Anybody have VBA code to force run Macro when open, but also will lock down access to VBA editor without password

If anybody has a VBA code that will force the user to run macro if they want to open the file. At the same time, it will deny access if the correct password is not provided.



Answer : Anybody have VBA code to force run Macro when open, but also will lock down access to VBA editor without password

Hello wsjwsj2,

Check out: http://www.vbaexpress.com/kb/getarticle.php?kb_id=578

BAsically you have a blank sheet that is always displayed and unless / until you enable macros you cannot see the other sheets.

Regards,

chris_bottomley
Random Solutions  
 
programming4us programming4us