Thread: vb Help
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Stig - tame racing driver Stig - tame racing driver is offline
external usenet poster
 
Posts: 34
Default vb Help

I have a password protect sheet, and all I'm after is a way to automatically
unlock the sheet when certain uses (admin) open it

I did have a go using this

If Environ = ("username") Then
ActiveSheet.Unprotect Password:="password"

Regards