View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Maruza Maruza is offline
external usenet poster
 
Posts: 2
Default "How do I un/protect sheet by macro program with password

I need to input data only by macro programming.
Data sheet must be protected and only macro can unprotect to write data entry.
Then macro protects data sheet again to avoid any change.

I already try to protect with menu:
Tools Protection Protect sheet

But macro cannot remember the password.
Password is now always blank, which means can be unprotected by anybody.