Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Protect Error Excel97
I have made my Macros in Excel 2000, but when people use the Worksheets
with Excel 97, they get an Error Message. How can I wrie the Protect/Unprotect in my Macros This is how it's now Sheets("MPA").Unprotect 'or ActiveSheet.Unprotect 'and ActiveSheet.Protect DrawingObjects:=True, _ Contents:=True, _ Scenarios:=False I also have a pasword to protect the Macros Any suggestion? Thanks Aksel Børve. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Protect Error Excel97
If you are running this code from a commandbutton, change the
takefocusonclick property of the commandbutton to False. -- Regards, Tom Ogilvy "Aksel Børve" wrote in message ... I have made my Macros in Excel 2000, but when people use the Worksheets with Excel 97, they get an Error Message. How can I wrie the Protect/Unprotect in my Macros This is how it's now Sheets("MPA").Unprotect 'or ActiveSheet.Unprotect 'and ActiveSheet.Protect DrawingObjects:=True, _ Contents:=True, _ Scenarios:=False I also have a pasword to protect the Macros Any suggestion? Thanks Aksel Børve. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Protect Sheet Error | Excel Worksheet Functions | |||
400 Error in Unprotect/Protect Macro | Excel Discussion (Misc queries) | |||
Excel - password protect error | Excel Discussion (Misc queries) | |||
Error message opening Excel97 workbook | Excel Discussion (Misc queries) | |||
excel97: runtime error 1004 select method of range class failed | Excel Programming |