+ Reply to Thread
Results 1 to 6 of 6

Add a hyperlink from text box

  1. #1
    Registered User
    Join Date
    04-25-2015
    Location
    Indonesia
    MS-Off Ver
    MS Office 2010
    Posts
    8

    Add a hyperlink from text box

    Hi Guys,

    Kindly need your advice to add a hyperlink to a data in excel which inputted from a text box using macro. When a link typed in path text box in the user form, the link will automatically added to the data.
    This is really necessary for my daily work, it can save quite some time if I want to review a case, as I just need to click the link from the excel report instead of open the specific folder from my computer directory. Herewith I attach an excel I have create as the sample for more details.
    Attached Files Attached Files

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Add a hyperlink from text box

    Hi anwar,

    Welcome to the forum!

    Try this:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: Add a hyperlink from text box

    I'm understanding that what you want is to enter a file number in the form and that number will be the text in a cell that is an actual hyperlink to the file you specify in file path box.

    This code assumes you type the full path name, which would include the name of the file.

    Good Luck!!!
    Attached Files Attached Files
    Click the * Add Reputation button in the lower left hand corner of this post to say thanks.

    Don't forget to mark this thread SOLVED by going to the "Thread Tools" drop down list above your first post and choosing solved.

  4. #4
    Registered User
    Join Date
    04-25-2015
    Location
    Indonesia
    MS-Off Ver
    MS Office 2010
    Posts
    8

    Re: Add a hyperlink from text box

    Quote Originally Posted by skywriter View Post
    I'm understanding that what you want is to enter a file number in the form and that number will be the text in a cell that is an actual hyperlink to the file you specify in file path box.

    This code assumes you type the full path name, which would include the name of the file.

    Good Luck!!!
    Dear Skywriter,

    Thank you very much!! This is exactly what I want

  5. #5
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: Add a hyperlink from text box

    My pleasure. Thank you for the rep. points and for marking the thread solved.

  6. #6
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Add a hyperlink from text box

    I also thank you for the rep!

+ 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] Hyperlink in text
    By greeneggsandsam in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-23-2014, 01:03 PM
  2. Text to Hyperlink.
    By skyping in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-15-2012, 03:07 PM
  3. Replies: 3
    Last Post: 01-13-2012, 12:11 PM
  4. Hyperlink in text
    By Jos Vens in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-19-2005, 09:06 PM
  5. Macro to Copy Hyperlink to another file as a HYPERLINK, not text...
    By dollardoc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-06-2005, 08:07 PM

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