+ Reply to Thread
Results 1 to 6 of 6

Excel Droopdown list

Hybrid View

r70 Excel Droopdown list 09-06-2012, 01:11 PM
vandan_tanna Re: VBA Macros 09-06-2012, 01:17 PM
r70 Re: VBA Macros 09-06-2012, 01:23 PM
vandan_tanna Re: VBA Macros 09-06-2012, 01:47 PM
r70 Re: VBA Macros 09-06-2012, 02:30 PM
vandan_tanna Re: VBA Macros 09-06-2012, 01:46 PM
  1. #1
    Registered User
    Join Date
    06-23-2012
    Location
    Dubai
    MS-Off Ver
    Excel 2010
    Posts
    7

    Excel Droopdown list

    If i have a 10 sheets with different names and i have a list of these names how can i create a button to display the worksheet containing the name that i choose from the list
    Last edited by r70; 09-06-2012 at 03:29 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    05-07-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    354

    Re: VBA Macros

    Rather than a button for each, may be you can hyperlink them.

    See discussion here
    Regards,
    Vandan

  3. #3
    Registered User
    Join Date
    06-23-2012
    Location
    Dubai
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: VBA Macros

    Well Thank you vandan But Im trying to Make one button to all names ...if i choose a name from the list and then clicking the button it will go to the named sheet ...not for each name a button.
    r70

  4. #4
    Valued Forum Contributor
    Join Date
    05-07-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    354

    Re: VBA Macros

    ooops, sorry Arlette...I was typing my post while you posted yours.

  5. #5
    Registered User
    Join Date
    06-23-2012
    Location
    Dubai
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: VBA Macros

    Thanks Vandan Well done

  6. #6
    Valued Forum Contributor
    Join Date
    05-07-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    354

    Re: VBA Macros

    Assuming you have a drop down in A1 with your list of Sheet names, then assign your button the following macro:

    Sub ActivateSheet()
    
    Dim wSht As Worksheet
    Set wSht = Worksheets(Range("A1").Value)
    
    wSht.Select
    
    End Sub
    Last edited by vandan_tanna; 09-06-2012 at 01:48 PM. Reason: code tags

+ 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