+ Reply to Thread
Results 1 to 2 of 2

Hide/Unhide sheets based on combo box selection

  1. #1
    Registered User
    Join Date
    01-21-2013
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2007
    Posts
    3

    Hide/Unhide sheets based on combo box selection

    Hi all,

    I'm not used to VBA and am having a bit difficulty putting together code for a combobox selection that hides and unhides sheets based on its selection. Eg. A combobox that has a dropdown list of 2, 3, 4, & 5. Sheets 2-5 are hidden by default (before selecting value in the combobox). Upon selecting "2", it should unhide sheet 2. If I select "3" it should unhide sheet 3 but hide sheets 2, 4, & 5 and so on.. sheet 1 is to stay unhidden at all times.

    I hope I have explained it clearly and would greatly appreciate your assistance

  2. #2
    Valued Forum Contributor
    Join Date
    02-09-2012
    Location
    Mauritius
    MS-Off Ver
    Excel 2007
    Posts
    1,055

    Re: Hide/Unhide sheets based on combo box selection

    Hi.

    Check this out:

    hideunhidesheets.xlsm
    Click *, if my suggestion helps you. Have a good day!!

+ 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