+ Reply to Thread
Results 1 to 3 of 3

How do I show the address of hyperlink to another cell in Excel ?

  1. #1
    Outlook写邮件遇到的问题
    Guest

    How do I show the address of hyperlink to another cell in Excel ?

    How do I show the address of hyperlink to another cell in Excel worksheet?

  2. #2
    Dave Peterson
    Guest

    Re: How do I show the address of hyperlink to another cell in Excel ?

    Are the hyperlinks inserted via Insert|Hyperlink?

    If yes:

    You can use a User defined function to retrieve the link.

    Please Login or Register  to view this content.
    So if you had a hyperlink in A1, you could put =getURL(a1) in that adjacent
    cell.

    Be aware that if you change the hyperlink, then this formula cell won't change
    until your workbook calculates.

    If you're new to macros, you may want to read David McRitchie's intro at:
    http://www.mvps.org/dmcritchie/excel/getstarted.htm

    Short course:

    Open your workbook.
    Hit alt-f11 to get to the VBE (where macros/UDF's live)
    hit ctrl-R to view the project explorer
    Find your workbook.
    should look like: VBAProject (yourfilename.xls)

    right click on the project name
    Insert, then Module
    You should see the code window pop up on the right hand side

    Paste the code in there.

    Now go back to excel.
    Into a test cell and type:
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Outlook???????? wrote:
    >
    > How do I show the address of hyperlink to another cell in Excel worksheet?


    --

    Dave Peterson
    Last edited by zbor; 04-14-2016 at 06:50 AM.

  3. #3
    Registered User
    Join Date
    05-21-2014
    Posts
    1

    Re: How do I show the address of hyperlink to another cell in Excel ?

    this function is good. Thanks

+ 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