97 / 2000 VBA code compatibility question
Posted by Chris on August 07, 2001 7:48 PM
when using the following code:
ActiveSheet.Unprotect password:=""
.
.(data Input to workbook procedure here)
.
Workbooks(ThisBook).Worksheets(1).Activate
ActiveSheet.Protect
...this works fine in excel 2000 but trips up on the last line (AciveSheet.Protect)in excel 97???
can anyone help and tell me if theres a way to accomplish unprotecting/ protecting the workbook for data access purposes that will work across both softwares?
Thanks,
Chris