Juan Pablo González
Guest
Re: Error unprotecting worksheet
Try setting the TakeFocusOnClick property of the buttons (if any) to False.
That's usually the culprit
--
Regards
Juan Pablo González
"Chad" <Chad@discussions.microsoft.com> wrote in message
news:7713388D-E183-4180-ACC2-D6D9A67989FD@microsoft.com...
> I have encountered a run time error 1004: unprotect method of worksheet
class
> failed.
>
> I have written an "unprotect the worksheet" macro that includes:
> ActiveSheet.Unprotect password:="something"
>
> When I run this macro in Excel 2000 indpenedently and referenced within
> other macros it works fine. However, when I run this macro on other
machines
> running Excel 97, the error occurs. Any and all help is appreciated.
>
> Thanks in advance.
Bookmarks