View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.newusers
Simon Lloyd[_20_] Simon Lloyd[_20_] is offline
external usenet poster
 
Posts: 1
Default Unprotecting Sheets


If they have a password un comment the password section and change
mypassword for your password, the code goes in a standard module.

Sub Ulock_Sheets()
Dim Sh as worksheet
For each sh in sheets
sh.unprotect 'password:="mypassword"
next sh
end sub


--
Simon Lloyd

Regards,
Simon Lloyd
'The Code Cage' (http://www.thecodecage.com)
------------------------------------------------------------------------
Simon Lloyd's Profile: http://www.thecodecage.com/forumz/member.php?userid=1
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=33860