Hi,
To update a protected cell or range of cells in a worksheet, wrap the procedure with the following code:
ActiveSheet.Unprotect (“Password”)
' The rest of your code goes here
ActiveSheet.Protect Pasword:=“Password”
Where the string enclosed in quotes as “Password” contains the actual password.
To hide a specific worksheet, you could use:
Sub Hide_WS1()
Worksheets(MySheet).Visible = False
End Sub
To unhide a specific worksheet, you could use:
Sub UnHide_WS()
Worksheets(MySheet).Visible = True
End Sub
where "MySheet" is the sheet name.
However, if you know which cells need to be changed, you should be able to do that without unhiding the worksheet.
Cheers