View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
James C. James C. is offline
external usenet poster
 
Posts: 32
Default Unprotect Sheet with Password Included

Hi,

Hoping someone can help. I am trying to create a button that does the
following

1. Unprotects my excel sheet
2. Automatically inserts the unprotect password into the string so the user
doesn't have to type it. Probably seems odd and a bad use of even having a
password but in the end it makes sense for what I am trying to do.

Right now I am using the following code to unprotect the sheet, but again it
prompts me for the password instead of automatically inserting it in.

Activesheet.unprotect

Thanks for any help