P
Ph8te
Hello all I am VERY new to the VB coding world and I am trying to create
a workbook with protectedworksheets. I used the code off of
http://exceltips.vitalnews.com/Pages/T0087_Protecting_Individual_Worksheets_by_User.html
The only difference is that I have about 31 worksheets.
I am able to open the workbook and enter the username password, BUT
when I click ok I get the Runtime Error 9: Subscript out of range
error. When I go to Debug it highlights in yellow this string:
Sheets(sSName).Visible = True
Is there anyone here that can help me out? THank you very much in
advance if anyone can figure this out.
a workbook with protectedworksheets. I used the code off of
http://exceltips.vitalnews.com/Pages/T0087_Protecting_Individual_Worksheets_by_User.html
The only difference is that I have about 31 worksheets.
I am able to open the workbook and enter the username password, BUT
when I click ok I get the Runtime Error 9: Subscript out of range
error. When I go to Debug it highlights in yellow this string:
Sheets(sSName).Visible = True
Is there anyone here that can help me out? THank you very much in
advance if anyone can figure this out.