How do I copy hyperlink only (and not text) to another cell?

Posted by OfficeLackey on Super User See other posts from Super User or by OfficeLackey
Published on 2014-06-04T15:16:41Z Indexed on 2014/06/05 15:28 UTC
Read the original article Hit count: 233

I have a spreadsheet where column A displays names. There are a few hundred names and each has a different hyperlink (which links to that person's web page). I want to transfer those hyperlinks across to a different column which has different text in and no hyperlinks.

Not every cell in column A has a hyperlink. There are groups of cells merged together, so A2:A7 has one link, A8:A13 the next, A9:10 the next (i.e. number of cells merged is not uniform).

e.g. where A2:A7 reads "Bob" and links to www.bob.com, I want I2:I7, which reads, "Smith," and does not link to anything, to link to www.bob.com. I want to do this repeatedly, copying links from A2:A579 into I2:I579.

The information is copied from a table within a web page, and that is where the hyperlinks come from.

© Super User or respective owner

Related posts about microsoft-excel

Related posts about vba