+ Reply to Thread
Results 1 to 9 of 9

HTML or Hyperlink Macro???

  1. #1
    Forum Contributor
    Join Date
    09-10-2008
    Location
    Phoenix, AZ
    MS-Off Ver
    Office 365
    Posts
    985

    HTML or Hyperlink Macro???

    Hello All,

    I am looking for a sample excel code that when the user selects an image in the UserForm the user is taken to a specific website...

    HTML or Hyperlink Macro???

    Best Regards,


    John
    Last edited by JJFletcher; 10-28-2017 at 08:13 AM.

  2. #2
    Forum Contributor
    Join Date
    09-10-2008
    Location
    Phoenix, AZ
    MS-Off Ver
    Office 365
    Posts
    985

    Re: HTML or Hyperlink Macro???

    Hello All,

    I have been able to create a Command Button to launch the URL to the pre diefined website...

    I would rather have an image do the same thing

    Please Login or Register  to view this content.
    Regards,

    John

  3. #3
    Forum Contributor
    Join Date
    09-10-2008
    Location
    Phoenix, AZ
    MS-Off Ver
    Office 365
    Posts
    985

    Re: HTML or Hyperlink Macro???

    Hello All,

    Problem solved

    Please Login or Register  to view this content.
    "DUH"

    Sorry to bother you all

    Regards,

    John
    Last edited by JJFletcher; 10-28-2017 at 08:18 AM. Reason: grammer

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,730

    Re: HTML or Hyperlink Macro???

    LOL!!!!! Thanks for sharing ...
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: HTML or Hyperlink Macro???

    John

    If you mean an Image control on a userform try this.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  6. #6
    Forum Contributor
    Join Date
    09-10-2008
    Location
    Phoenix, AZ
    MS-Off Ver
    Office 365
    Posts
    985

    Re: HTML or Hyperlink Macro???

    Thanks Norie,

    Appreciate your feedback

    John

    PS... AliGW - This is the best resource for Excel online... I appreciate this Forum.... Sometimes it's the simple things in life that puzzle us most "lol"

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,730

    Re: HTML or Hyperlink Macro???

    I just love it when someone else goofs like me!!! I agree, this is a great forum.

  8. #8
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: HTML or Hyperlink Macro???

    John

    I was going to suggest using the Click event but when I added an Image control to a userform that option wasn't available in the dropdowns above the code window.

    The only 'appropriate' event that was listed was MouseDown.

  9. #9
    Forum Contributor
    Join Date
    09-10-2008
    Location
    Phoenix, AZ
    MS-Off Ver
    Office 365
    Posts
    985

    Re: HTML or Hyperlink Macro???

    Thanks Norie,


+ 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. Html macro to click particular hyperlink in webpage
    By manjulashankar in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-09-2016, 09:53 PM
  2. [SOLVED] Run a Macro from a Hyperlink in an Html file loaded in the Webbrowser on a Userform!
    By EchoPassenger in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-26-2015, 04:20 PM
  3. [SOLVED] mailto: Hyperlink #value error and HTML coding
    By lplaforest in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-01-2012, 03:26 PM
  4. [SOLVED] convert hyperlink to string or html
    By scrabtree23 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-27-2012, 08:24 AM
  5. Convert hyperlink to html code
    By joodkap in forum Excel General
    Replies: 6
    Last Post: 03-19-2009, 09:06 AM
  6. [SOLVED] hyperlink to sheet in workbook saved as html
    By Y Sbuty in forum Excel General
    Replies: 0
    Last Post: 03-26-2006, 07:00 PM
  7. Macro To Create Hyperlink from html text
    By Ketan Patel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-06-2005, 12:05 PM

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