As a UDF:
Copy the Excel VBA code
Select the workbook in which you want to store the Excel VBA code
Hold the Alt key, and press the F11 key, to open the Visual Basic Editor
Choose Insert | Module
Where the cursor is flashing, choose Edit | Paste
You will need to set a reference to "Microsoft HTML Object Library" - in the VBA screen, go to Tools > references find the library, tick it and press ok.
You will then be able to use this as a normal excel function, so assuming your urls start in A1:
And drag down
Edit: The code is attached as the Forum won't let me post it
Bookmarks