+ Reply to Thread
Results 1 to 7 of 7

Hyperlink from drop down list

Hybrid View

  1. #1
    Registered User
    Join Date
    05-25-2007
    Location
    Egypt
    MS-Off Ver
    2010
    Posts
    33

    Hyperlink from drop down list

    Dears,

    I have a drop down list. I want to make a hyper link to each sheet in my workbook from the drop dwon list. for ex:

    The lsit as follow: Sheet 1
    Sheet 2
    Sheet 3

    When i choose sheet 1 automatically direct me to sheet 1
    Attached Files Attached Files
    Last edited by hero96559; 12-18-2010 at 05:10 AM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Hyperlink from drop down list

    No need for a macro. This is standard Excel functionality.

    Right click on the arrow buttons to the left of the sheet tabs. This will bring up a list of the sheets in your workbook. Click on a sheet name and that sheet will be activated.

  3. #3
    Registered User
    Join Date
    05-25-2007
    Location
    Egypt
    MS-Off Ver
    2010
    Posts
    33

    Re: Hyperlink from drop down list

    Dear Teylyn,

    Kindly find attached sheet. And you will find what i mean,

  4. #4
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Hyperlink from drop down list

    Again: No need for a macro or duplicating Excel functionality in a drop-down list.

    Kindly right-click the arrow buttons to the left of the sheet tabs and click the desired sheet.

    There is no need to re-invent the wheel and jump through hoops to re-create native Excel functionality. Just five minutes of user education will do.

    cheers,

  5. #5
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Hyperlink from drop down list

    If you want to do this with code, then you could use

    Private Sub Worksheet_Change(ByVal Target As Range)
    If Not Intersect(Target, Range("D3")) Is Nothing Then
        Sheets(Range("D3").Text).Activate
    End If
    
    End Sub
    but then again, in your attached file, the spelling of the sheet names is wrong. Your list shows "Sheet 1", whereas the actual sheet name is "Sheet1", so if you don't take care to that kind of detail, you'd be much better off with the right-click on the arrow buttons to the left of the sheet tab. There you will always find the correct spelling of the existing sheet names.

    Details are important!

  6. #6
    Registered User
    Join Date
    05-25-2007
    Location
    Egypt
    MS-Off Ver
    2010
    Posts
    33

    Re: Hyperlink from drop down list

    But i requested to do that teylyn. I don't see any problems with my request i just need help.
    Thnx for ur kind reply

  7. #7
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Hyperlink from drop down list

    So, does the code posted above solve your issue?

+ 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