Forum Discussion
kittenmeants
May 02, 2024Brass Contributor
Unhide Sheets: Can't unhide a xlSheetHidden
Hello! I have a workbook that was password protected (by me), I unprotected and now I cannot see my additional tabs. When I go to 'View Code' the tabs are there but unable to unhide. They are no...
- May 02, 2024
One last question: Are you sure you have unprotected the workbook? This is what may be causing the issue.
MAngosto
May 02, 2024Iron Contributor
Have you tried:
Sub UnhideSheet()
Worksheets("Yourworksheetnamehere").Visible = True
End Sub
- kittenmeantsMay 02, 2024Brass Contributor
- MAngostoMay 02, 2024Iron Contributor
You need to change "Yourworksheetnamehere" with the actual worksheet name that you desire to unhide. If your hidden worksheet is named "Hello", you should write in the piece of code that I gave you:
Worksheets("Hello").Visible = True
- kittenmeantsMay 02, 2024Brass Contributor
Thank you for explaining , gave me a good laughing learning moment.
Still getting an error, but different: