+ Reply to Thread
Results 1 to 5 of 5

Hiding Worksheets by number

  1. #1
    Forum Contributor
    Join Date
    04-16-2014
    Location
    Australia
    MS-Off Ver
    Excel 365
    Posts
    125

    Hiding Worksheets by number

    Hopefully just a simple one.

    How do I hide all worksheets with a worksheet number greater than 12?

    I suppose I could list every sheet I don't want to hide like below, but they must be a cleaner way

    Thank you.

    Please Login or Register  to view this content.

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,914

    Re: Hiding Worksheets by number

    Try this:
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    04-16-2014
    Location
    Australia
    MS-Off Ver
    Excel 365
    Posts
    125

    Re: Hiding Worksheets by number

    Sorry, I should have been clearer. I need to use the number >12 as per the VBA properties. So the list per the Microsoft Excel Objects "Sheet1", "Sheet2" etc. Which have of course all been named.

  4. #4
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,914

    Re: Hiding Worksheets by number

    Like this?
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    04-16-2014
    Location
    Australia
    MS-Off Ver
    Excel 365
    Posts
    125

    Re: Hiding Worksheets by number

    Perfect! Thank you Phuocam.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 05-16-2017, 09:36 AM
  2. hiding worksheets
    By asyamonique in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-23-2008, 03:00 PM
  3. hiding worksheets
    By zb61 in forum Excel General
    Replies: 2
    Last Post: 01-21-2008, 03:11 PM
  4. Hiding/Exposing Worksheets based on a Number Entry
    By David in forum Excel General
    Replies: 6
    Last Post: 12-10-2005, 10:45 PM
  5. [SOLVED] hiding worksheets
    By frendabrenda1 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  6. hiding worksheets
    By frendabrenda1 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  7. hiding worksheets
    By frendabrenda1 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM

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