View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default Unprotecting Worksheets in VB Script

It will work in Excel 97.

If you are doing it from a commandbutton, change the TakefocusOnClick
property to false.

--
Regards,
Tom Ogilvy

"InnerChild " wrote in message
...
I am using this code to unprotect worksheets in a small program I have:

Sheets("Intropage").Unprotect "ugc"

I have since learned, that this does not work in Excel '97. Can anyone
help me out with the command that unprotects password protected sheets
in '97? Is it possible?

Thanks


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