I am trying to call this procedure from another
And here is how I tried to call and the resulting error:![]()
Module1 Private Sub unProtectSheets() On Error Resume Next For Each Page In ActiveWorkbook.Worksheets Page.Unprotect Password:="accounting" Next End Sub
or![]()
Call module1.unProtectSheets
gives![]()
Call unProtectSheets
andCompile Error:
Method or Data member not found
gives![]()
unProtectSheets
I can't figure it out.Compile Error:
Sub or Function not Defined
Please and Thank You
Bookmarks