Hello all!
Im getting the following error below
"Unable to set the Hidden property of the Range class"
Any idea why im getting error?
Im getting the following error below
"Unable to set the Hidden property of the Range class"
Any idea why im getting error?
Code:
Sub UnlockSheet()
Dim password As Variant
password = Application.InputBox("Enter Password", "Password Protected")
Select Case password
Case Is = False
Case Is = "MyPassword"
Case Else
MsgBox "Incorrect Password"
End Select
Columns.EntireColumn.Hidden = False
End Sub