View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
chandlm[_14_] chandlm[_14_] is offline
external usenet poster
 
Posts: 1
Default Check if activesheet is protected

Freseh

change,

If ActiveSheet.Protect.Enabled = False Then

to

If ActiveSheet.ProtectContents = false Then

That should do the trick

HTH


---
Message posted from http://www.ExcelForum.com/