+ Reply to Thread
Results 1 to 7 of 7

Forms Combo Box with Hyperlinks

  1. #1
    Forum Contributor
    Join Date
    04-23-2007
    Location
    Texas
    Posts
    417

    Forms Combo Box with Hyperlinks

    I've searched and searched for the answer to this question and I see a lot of cross postings without the answer.

    I have 2 sheets in a workbook. 1 is “Report” the other is “CHG”. I’ve created the Combo box from the form menu and the box is on the “Report” sheet. On the “CHG” sheet, I have the list I want to use.

    I first tried to create the hyperlinks in the cells of the list and then link the Combo box to that list… didn’t work.

    From what I’ve found in this forum is that I need an action on the Combo box to make the links work when selected in the box.

    This is where I need the action but I don’t know what code to enter here. I’ve done this with buttons so I don’t know why I can’t figure this one out… pretty sad on my part I feel.
    Please Login or Register  to view this content.

  2. #2
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: Forms Combo Box with Hyperlinks

    I prefer the combobox in the Control Toolbox toolbar.

    e.g.
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    04-23-2007
    Location
    Texas
    Posts
    417

    Re: Forms Combo Box with Hyperlinks

    We are close.. how do I get the name in the range to appear and not the hyperlink in the VB code?

  4. #4
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: Forms Combo Box with Hyperlinks

    This is not fool-proof but might work for you.
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    04-23-2007
    Location
    Texas
    Posts
    417

    Re: Forms Combo Box with Hyperlinks

    Thanks for you help but this doesn't work. I've tried a few things and it's close but not correct. I can click the drop down and click a blank space and it works, but not the word in the drop down.

  6. #6
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: Forms Combo Box with Hyperlinks

    Post your code or your xls if you want us to troubleshoot it.

    If you uncomment the lines where I added the hyperlinks, it would work.

    Hyperlinks come in 3 forms so I can't be sure where it would go wrong in yours.

  7. #7
    Forum Contributor
    Join Date
    04-23-2007
    Location
    Texas
    Posts
    417

    Re: Forms Combo Box with Hyperlinks

    Cool.. I think I got it figured out now! Ok, one last thing, I am going to try and add ,,, "ReadOnly:=True" before ,,, "Link Name"

    Some will be links to other xls sheets. I would like to make these read only


    UPDATE:
    I found a new problem. It only works if the links and the Combo Box are on the same sheet. So here it is.
    Please Login or Register  to view this content.
    Last edited by Tortus; 02-19-2009 at 03:55 PM.

+ 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