E
eugene
Hi,
I would like to protect the structure of a workbook.
I have tried
ActiveWorkbook.Protect Password:=pword, Structure:=False
ActiveWorkbook.Protect (pword, True)
(where pword is a variable defined earlier)
and various other combinations.
I get a compile error in all cases - "Expected: ="
What am I doing wrong?
Eugene
I would like to protect the structure of a workbook.
I have tried
ActiveWorkbook.Protect Password:=pword, Structure:=False
ActiveWorkbook.Protect (pword, True)
(where pword is a variable defined earlier)
and various other combinations.
I get a compile error in all cases - "Expected: ="
What am I doing wrong?
Eugene