I love these ugly hacks. Looks like some dated info too. Get ready for 3rd party ref info to get obseleted even faster.. If you've got Office 365 business, check out Office Scripts (they finally added an alternative to VBA, but only on the otherwise limited cloud Excel):
https://www.howtoexcel.org/extract-hyperlink-url/
ctrl+f: Extract the Hyperlink URL with Office Scripts
TL;DR: Automate tab -> New Script
paste this typescript-like thingy:
function main(workbook: ExcelScript.Workbook) {
// Your code here
// https://www.howtoexcel.org/extract-hyperlink-url/
// TODO: extend/input a whole column.. since it balks at
// empty lines during selection
//Create a range object from selected range
let selectedRange = workbook.getSelectedRange();
//Create an array with the values in the selected range
let selectedValues = selectedRange.getValues();
//Get dimensions of selected range
let rowHeight = selectedRange.getRowCount();
let colWidth = selectedRange.getColumnCount();
//Loop through each item in the selected range
for (let i = 0; i < rowHeight; i++) {
for (let j = 0; j < colWidth; j++) {
let currHyperlink = selectedRange.getCell(i, j).getHyperlink().address;
selectedRange.getOffsetRange(0, colWidth).getCell(i, j).setValue(currHyperlink);
};
};
};
Yet another way to own the content you create. If you're doing a lot of this, I'd look into python's openpyxl, and stay away from these subscription text editors. This is ridiculous, but will keep you rolling today! I would buy a new MS office for this feature, but I am not going to pay subscription for them to change stuff all the time and make even more money on the same thing. Not being able to open your docs one day is bad enough, but this way you won't even be able to access the file. Microsoft seems like a real arm-twisting business partner, I would consider other options as they continue to tighten the screw and wring every dime out of an OS and Word processor from the 90's.