H
Heera
Hi,
I have writen a macro and the report goes to my clients.
While running the macro the sheets should get unprotected & once is
procedure is done it should get protected again.
Here is my problem.
Code
'Sheets("Key Analysis").Unprotect
'Sheets("Additional Analyis").Unprotect
While unprotecting it is asking for a password which I dont want to
give to the clients
'Sheets("Key Analysis").Protect DrawingObjects:=True, Contents:=True,
Scenarios:=True
'Sheets("Additional Analyis").Protect DrawingObjects:=True,
Contents:=True, Scenarios:=True
While protecting it is not asking for a password it is smply
proctecting it without password.
Please help
Heera
I have writen a macro and the report goes to my clients.
While running the macro the sheets should get unprotected & once is
procedure is done it should get protected again.
Here is my problem.
Code
'Sheets("Key Analysis").Unprotect
'Sheets("Additional Analyis").Unprotect
While unprotecting it is asking for a password which I dont want to
give to the clients
'Sheets("Key Analysis").Protect DrawingObjects:=True, Contents:=True,
Scenarios:=True
'Sheets("Additional Analyis").Protect DrawingObjects:=True,
Contents:=True, Scenarios:=True
While protecting it is not asking for a password it is smply
proctecting it without password.
Please help
Heera