+ Reply to Thread
Results 1 to 5 of 5

Mirror/copy cells containing hyperlink within workbook

  1. #1
    Registered User
    Join Date
    09-05-2020
    Location
    London
    MS-Off Ver
    Office 360
    Posts
    3

    Mirror/copy cells containing hyperlink within workbook

    Hi, I need to mirror/copy a cell which is an external hyperlink, to different cells in tabs within the same workbook.
    The mirrored cells also need to be hyperlinks and automatically change when the master cell Hyperlink is updated. If I use copy and paste the cell contents are copied but not the hyperlink. Is there a way of achieving this?

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Mirror/copy cells containing hyperlink within workbook

    Welcome to the board
    Here is one way using a formula and VBA

    Insert this function in a VBA module
    Please Login or Register  to view this content.

    Put this formula (amended as required) in the cells where the link needs replicating
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The link in cell containing the formula is updated whenever A1 in sheet "Sheet Name" is amended

    Remember to save the workbook as macro enabled
    Last edited by kev_; 09-05-2020 at 05:23 AM.
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  3. #3
    Registered User
    Join Date
    09-05-2020
    Location
    London
    MS-Off Ver
    Office 360
    Posts
    3

    Re: Mirror/copy cells containing hyperlink within workbook

    Thanks for the help Kev. I’ll try the formula solution and update as to how I get on.

  4. #4
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Mirror/copy cells containing hyperlink within workbook

    VBA can be avoided if the source cell value is the hyperlink address

    So if A1 in source sheet contains .. "http://www.google.com"

    use this formula in other sheets
    =HYPERLINK('Sheet Name'!A1,'Sheet Name'!A1)

    No requirement to copy anything, the formula updates automatically when hyperlink address is updated

    This may help you if unfamiliar with HYPERLINK function (relevant information towards the bottom of the page)
    https://www.contextures.com/excelhyperlinkfunction.html
    Last edited by kev_; 09-05-2020 at 05:38 AM.

  5. #5
    Registered User
    Join Date
    09-05-2020
    Location
    London
    MS-Off Ver
    Office 360
    Posts
    3

    Re: Mirror/copy cells containing hyperlink within workbook

    This worked a treat. Exactly what I was wanting to achieve. Many thanks.

+ 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. Formula to copy a row and mirror its cells
    By PeFn in forum Excel General
    Replies: 5
    Last Post: 07-15-2020, 09:57 AM
  2. [SOLVED] Copy/Paste hyperlink incrementally to different workbook
    By Chipnflip in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-13-2019, 11:53 AM
  3. Mirror a cell's entire content including hyperlink and comments
    By dontfcuk in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 11-13-2019, 04:43 AM
  4. [SOLVED] How to mirror 3 cells across multiple sheets in a workbook?
    By NickyHavey in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-06-2016, 05:25 AM
  5. Mirror exact sheet from workbook to workbook
    By NBrown1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-02-2014, 11:10 PM
  6. Mirror Cells across a workbook (I think thats the term)
    By Danielle454 in forum Excel General
    Replies: 1
    Last Post: 02-28-2013, 10:48 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