+ Reply to Thread
Results 1 to 2 of 2

Hyperlinks Combo Box

  1. #1
    Forum Contributor
    Join Date
    06-06-2012
    Location
    Toronto, ON
    MS-Off Ver
    Office 365
    Posts
    138

    Hyperlinks Combo Box

    My VBA script lists items in my combo box.............What Im trying to do is instead of having the hyperlink listed in the combo box...id like to link a phrase to a website...So for instance instead of having the hyperlink to the CNN website in the combo box...Id just like to have the phrase "CNN Website" and when a user selects that from the drop downbox it takes the user to that website...How would I amend my script to do that? Does anyone know?

    Please Login or Register  to view this content.
    Thanks!!

  2. #2
    Registered User
    Join Date
    05-19-2011
    Location
    San Diego, CA
    MS-Off Ver
    Excel 2010
    Posts
    33

    Re: Hyperlinks Combo Box

    Here's one approach. Set up a lookup table like this....
    Lookup.jpg

    Paste this code into the Sheet Code Module of the Sheet that has the ComboBox.
    The code will use the lookup table to populate the ComboBox, and to find the hyperlink address.

    Please Login or Register  to view this content.
    The Lookup data could be written into the VBA Code if you prefer, but you might find the worksheet table approach shown easier to maintain.
    Last edited by JS411; 06-14-2012 at 01:37 AM.

+ 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