Results 1 to 4 of 4
  1. #1
    Lounger
    Join Date
    Feb 2003
    Location
    Bournemouth, Dorset, England
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhide Sheets (xl 97)

    Is there a piece of code that can unhide all hidden sheets within a workbook, irrespective of how many sheets there are hidden?
    Having to unhide them manually takes quite a while...

  2. #2
    WS Lounge VIP sdckapr's Avatar
    Join Date
    Jul 2002
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    11,225
    Thanks
    14
    Thanked 342 Times in 335 Posts

    Re: Unhide Sheets (xl 97)

    Try this

    <pre>Sub UnHideAll()
    Dim sht
    For Each sht In Sheets
    sht.Visible = xlSheetVisible
    Next
    End Sub</pre>


    Steve

  3. #3
    Lounger
    Join Date
    Feb 2003
    Location
    Bournemouth, Dorset, England
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Unhide Sheets (xl 97)

    Excellent.

    Many thanks Steve.

  4. #4
    Star Lounger
    Join Date
    Mar 2003
    Location
    Sydney, New South Wales, Australia
    Posts
    54
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Unhide Sheets (xl 97)

    With Navigator Utilities installed, you can easily see all hidden sheets, (including "very hidden" sheets). By selecting all sheets, one click in NU, and then clicking "Unhide", you have all sheets unhidden. One more click to close the dialog. 4 clicks in all.

    Navigator Utilities also shows which sheets are protected and which have passwords. Select all, and remove protection just as easily. Including removing the passwords.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •