insert password using vb

  • Thread starter Thread starter abbeville
  • Start date Start date
A

abbeville

I have multi worksheets in a template with formulas. I can hide th
formulas but if I add a password, my macros stop and ask for th
password when the macro is in a protected worksheet. Is there a way o
adding the password to a macro so that the macro will run smoothl
without stopping and asking for a manual insertion of the password?
Thanks
Do
 
ActiveSheet.Unprotect ("password")

Other Macro

ActiveSheet.Protect ("password")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top