View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Dusan[_2_] Dusan[_2_] is offline
external usenet poster
 
Posts: 2
Default Worksheet.Protect Question

Hi there,
I was experimenting with ActiveSheet.Protect function and
ran the following piece of code:

ActiveSheet.Protect True , True

then I was happy that the sheet was locked but when I tried
to run:

ActiveSheet.Protect False,False

to unlock the sheet got the message saying wrong password.

Now I can't unlock it. Do you know the exact syntacs of the command?
I tried several passwords (thought that "True" was the pasword parameter)...
but nothing helped.

Is there any default pasword? Sounds silly but any idea?

Cheers
Dusan