+ Reply to Thread
Results 1 to 2 of 2

hyperlink in a textbox

  1. #1
    Forum Contributor
    Join Date
    02-12-2011
    Location
    Hyderabad
    MS-Off Ver
    Excel 2007
    Posts
    263

    hyperlink in a textbox

    Hi All

    Can we insert hyperlink in to a textbox . My text box is on a sheet.

    Example text1box.value = "https://google.com"

    is there a code on the lines of follow hyperlinks.

    Many thanx
    Never confuse a single defeat to the final defeat.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: hyperlink in a textbox

    Don't use a textbox on the sheet, use a cell, and in the cell use the HYPERLINK() function to create a clickable link.

    Assume your textbox1 value is actually coming from a cell, say A1, then in B1 for example this would give you a clickable link:

    =HYPERLINK(A1, "Click me")
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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. Can a Form textbox become a hyperlink?
    By brucemc777 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-21-2016, 06:25 PM
  2. TextBox Hyperlink Code
    By oskar44 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-02-2015, 09:03 AM
  3. Open hyperlink from textbox (Help) please
    By lacromo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-30-2015, 12:08 AM
  4. how to extract hyperlink from textbox
    By rramoutar7 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-19-2013, 06:52 AM
  5. Replies: 1
    Last Post: 03-14-2006, 06:30 PM
  6. Hyperlink within Textbox(UserForm)
    By Soniya in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-14-2005, 01:20 PM
  7. Hyperlink in a textbox
    By GWI in forum Excel General
    Replies: 1
    Last Post: 02-15-2005, 01:06 AM

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