Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Help with unprotecting worksheet in Excel 97
I am trying to unprotect a worksheet in some VB code I am
writing in Excel 97. The code works correctly in Excel 2000, however I get the following error in Excel 97: Run-time error '1004' Unprotect method of Worksheet class failed Here is the code, I am getting the error on the 2nd line: If ActiveSheet.ProtectContents = True Then ActiveSheet.Unprotect If CheckBox6.Value = True Then .... Can anyone help I have been trying to figure this out for weeks? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Unprotecting worksheet/workbook in Excel 2007 | Excel Worksheet Functions | |||
Unprotecting a worksheet | Excel Worksheet Functions | |||
Unprotecting a Worksheet | Excel Worksheet Functions | |||
Unprotecting a Protect Worksheet | Excel Worksheet Functions | |||
unprotecting a worksheet | Excel Discussion (Misc queries) |