+ Reply to Thread
Results 1 to 8 of 8

Navigate through sheets with drop down / combo box?

  1. #1
    Registered User
    Join Date
    06-18-2018
    Location
    Denmark
    MS-Off Ver
    Office 365
    Posts
    22

    Navigate through sheets with drop down / combo box?

    Hi forum,

    i have stolen this code from extendoffice.com/


    Please Login or Register  to view this content.
    It create a list of all my sheets, and let my jump to the sheet i press. My problem is, that it also shows all my hidden sheets.

    Can anyone modify the code, so it only shows the visible sheets in my workbook?

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Navigate through sheets with drop down / combo box?

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Navigate through sheets with drop down / combo box?

    Please Login or Register  to view this content.
    Happy to Help

    How to upload excel workbooks at this forum - http://www.excelforum.com/the-water-...his-forum.html

    "I don't get things easily, so please be precise and elaborate"

    If someone's post has helped you, thank by clicking on "Add Reputation" below the post.
    If your query is resolved please mark the thread as "Solved" from the "Thread Tools" above.

    Sourabh

  4. #4
    Registered User
    Join Date
    06-18-2018
    Location
    Denmark
    MS-Off Ver
    Office 365
    Posts
    22

    [SOLVED] Navigate through sheets with drop down / combo box?

    Both answers worked. Thx guys, much appriciated

  5. #5
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Navigate through sheets with drop down / combo box?

    You're welcome.

    Here's an alternative. Use this with a command button. Or assign a macro with this code to a shape if you like.

    Please Login or Register  to view this content.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,910

    Re: Navigate through sheets with drop down / combo box?

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  7. #7
    Registered User
    Join Date
    06-18-2018
    Location
    Denmark
    MS-Off Ver
    Office 365
    Posts
    22

    Re: Navigate through sheets with drop down / combo box?

    I tried to paste you code to a ActiveX button, but it returned af run time 5 error. "Invalid procedure call or argument."

  8. #8
    Registered User
    Join Date
    06-18-2018
    Location
    Denmark
    MS-Off Ver
    Office 365
    Posts
    22

    Re: Navigate through sheets with drop down / combo box?

    Ahh, this litte thing did the trick:

    Case Is >= 16 - I have more than 16 sheets.

    Nice code by the way

+ 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. [SOLVED] Combo box to navigate to excel worksheet
    By lovinguy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-15-2014, 05:40 PM
  2. Navigate between sheets by using dropdown (combo box).
    By busukimin in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-09-2012, 09:06 AM
  3. Using a drop down result to navigate sheets
    By Random Reflux in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-02-2012, 11:25 AM
  4. Navigate in a drop down list
    By pal_slg in forum Excel - New Users/Basics
    Replies: 8
    Last Post: 10-19-2011, 01:53 PM
  5. Excel 2007 : Combo/List boxes to navigate to different worksheets...
    By Finalfrontier1976 in forum Excel General
    Replies: 6
    Last Post: 04-10-2010, 01:30 PM
  6. Using a combo box to navigate between sheets
    By Shieldsy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-12-2008, 08:30 AM
  7. Navigate through Computer Folders in Combo Box
    By Mark Purvis in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-27-2006, 12:25 PM

Tags for this Thread

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