G
Guest
I was asked to design a worksheet to perform certain calculations. It was however vital that the sheet be protected since it also includes some macros (VB code) to automate certain processes viz to add rows etc. Rows cannot be added whilst the sheet is protected
The operating system, perhaps a little outdated (Windows 95).
Question: Why do I get an error message with the basic code line to protect sheet1 : Worksheets("Sheet1").Protect Password:="ABCD"
The minute I change the code to Sheet2, the processs it completed immediately! Please help
Incidently, the above code runs beautifully on later versions, viz 98, 2000 etc. Please help. I have tried several code methods, none which seem to work
Thanks Rudi
The operating system, perhaps a little outdated (Windows 95).
Question: Why do I get an error message with the basic code line to protect sheet1 : Worksheets("Sheet1").Protect Password:="ABCD"
The minute I change the code to Sheet2, the processs it completed immediately! Please help
Incidently, the above code runs beautifully on later versions, viz 98, 2000 etc. Please help. I have tried several code methods, none which seem to work
Thanks Rudi