+ Reply to Thread
Results 1 to 3 of 3

Combobox with hyperlink

  1. #1
    Registered User
    Join Date
    05-30-2022
    Location
    Portugal
    MS-Off Ver
    MS365 Version 2210
    Posts
    33

    Cool Combobox with hyperlink

    Hello guys

    I'm pretty unnexperienced when it comes to excel macros/vba.

    I think the problem i'm facing is simple to resolve for some of you, but not for me.

    I have a list with 4 links. I want those links to appear one by one in the combobox. When i click the spin button it moves to the next. Its this simple. My problem is that i would like to see the text in the combobox as a hyperlink.

    Is this possible?

    Thank you for advance,
    Kev
    Attached Files Attached Files
    Last edited by kevsoulo; 05-30-2022 at 11:49 AM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,703

    Re: Combobox with hyperlink

    Quote Originally Posted by kevsoulo View Post
    i would like to see the text in the combobox as a hyperlink.
    What specifically do you mean? Do you mean that you want it to open the link if the user clicks on it, or are you just talking about formatting? You cannot put a hot link in a combobox but you can use the FollowHyperlink method to go to the link when the user selects it from the combobox.
    Please Login or Register  to view this content.
    If you are a little more specific about the exact behavior you want I can help further.

    By the way linking the spin button is a peculiar way of using a combobox and defeats the purpose of allowing the user to pick from a list. This is not the normal way a combobox is used. What is the overall user experience you are trying to create?
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    05-30-2022
    Location
    Portugal
    MS-Off Ver
    MS365 Version 2210
    Posts
    33

    Re: Combobox with hyperlink

    Thank you so much for the code, it worked Jazzer!!!
    I'm doing this for a school work.

    I already replied to your answer but it doesnt show in this thread.

    I hope you have a nice day and again thank you very very much!~
    Kev

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] VBA Combobox with hyperlink
    By snake93x in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 11-29-2020, 08:26 AM
  2. [SOLVED] ActiveX Combobox in worksheet when populating the list based on another Combobox get error
    By jprlimey in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-27-2020, 10:54 AM
  3. [SOLVED] ComboBox to populate Listbox and 2nd Combobox based on 1st combobox dropdown choice
    By bbqqsmokeman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-15-2017, 08:21 PM
  4. [SOLVED] Code required to Auto Populate 3rd Combobox based on 02nd Combobox Selection
    By bimmy80 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-14-2015, 03:56 AM
  5. Userform Combobox to populate form: Can I change the order of the columns in the combobox?
    By CraigWiggins in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-31-2014, 12:14 PM
  6. [SOLVED] Excel Userform: Populate other controls (i.e. textbox & combobox) based on combobox select
    By MileHigh_PhD in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-22-2013, 04:50 PM
  7. ListBox/ComboBox Acting as Macro/Hyperlink Tool
    By Phil H in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 03-31-2006, 07:55 AM

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.6.0 RC 1