+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    09-10-2009
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2007
    Posts
    1

    HYPERLINK & Drop BOXs

    I have built Excel MSDS system. In the Table of Contents it is simple to set a HYPERLINK to the Product to the correct MSDS sheet on separate “Worksheet”; but to HYPERLINK to Manufacture with mulit-products, I tried to make HYPERLINK "Drop List" so the user select which product he wants to view on separate “Worksheet” witch did NOT work. How can I make a "Drop List" so I can select the correct product from a list of products pre Manufacture?

    BEN

  2. #2
    Forum Moderator NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003, 2007, 2010
    Posts
    31,132

    Re: HYPERLINK & Drop BOXs

    I googled and found these, that may help:

    http://en.allexperts.com/q/Excel-105...perlinks-3.htm

    http://excel.tips.net/Pages/T003458_...yperlinks.html

    You can google.. to find more... I used terms "data validation hyperlink" without quotes
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  3. #3
    Forum Guru Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007
    Posts
    3,441

    Re: HYPERLINK & Drop BOXs

    I have built Excel MSDS system. In the Table of Contents it is simple to set a HYPERLINK to the Product to the correct MSDS sheet on separate “Worksheet”; but to HYPERLINK to Manufacture with mulit-products, I tried to make HYPERLINK "Drop List" so the user select which product he wants to view on separate “Worksheet” witch did NOT work. How can I make a "Drop List" so I can select the correct product from a list of products pre Manufacture?
    It isn't entirely clear from your description but, are you trying to hyperlink within the same workbook? If so, the Hyperlink function cannot be used to navigate within the workbook. You can, of course create internal hyperlinks (not using the function) using Ctrl+K keys, but this is not what you desire since it doesn't work with a drop down.

    If you're navigating to another sheet in the workbook, to use the drop down you must use VBA. See attached.

    Code:
    Private Sub Worksheet_Change(ByVal Target As Range)
    
        Dim strSheet As String
        
        strSheet = Range("A2").Value
        
        If Not Intersect(Target, Range("A2")) Is Nothing Then
            Application.Goto reference:=Worksheets(strSheet).Range("A1"), scroll:=True
        End If
    
    End Sub
    An alternate, non-VBA approach is to name a cell on each sheet and use the Name Box drop down to navigate to the desired sheet. The attached also includes this method.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

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.2.0