BACKGROUND:
I have a list of names and dates all in one column that include hyperlinks. I expanded the contents of each cell to multiple columns. But, in doing so, I lost the hyperlinks.
PROBLEM:
I need a formula or Macro that takes the hyperlink from one cell in COL A and applies it to the adjacent cell in COL B, but I need to be able to tell it what SRC column and what DEST column to use; it's not always A and B.
NOTE: Only the first cell of the expanded data needs the hyperlink.
SAMPLE DATA:
Original Data - This shows the first Column that contains the original data and the adjacent Columns that have been expanded - (copy/paste this sample data to your Excel spreadsheet and then add any hyperlink by hand to first Column cells for testing)
NOTE: To retain the proper layout in Excel, you may need to paste the code first into a plain text editor such as Notepad, then copy and paste into Excel.
The result should be that the first cell in the adjacent data will contain the hyperlink from it's source cell on the left. For example, "Last2" in Cell B1 will contain the hyperlink from "Last2, First2 (1079-1142)" in Cell A1.