+ Reply to Thread
Results 1 to 2 of 2

Unhide sheets-What code do I use to?

  1. #1
    Forum Contributor
    Join Date
    12-04-2003
    Location
    Burrton, Kansas USA
    MS-Off Ver
    2003
    Posts
    162

    Unhide sheets-What code do I use to?

    Hi!
    What code do I use to Unhide mutiple sheets rather than one at a time?
    I've tried sheets("sheet1", "sheet2").Visible = True it does'nt work.
    Thanks for any help

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good evening Brian Matlack

    These three lines should do the trick.

    For Each Sht In ActiveWorkbook.Sheets
    Sht.Visible = True
    Next Sht

    HTH

    DominicB

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1