A
A
andrey_levushkin2020-10-20 11:42:12
excel
andrey_levushkin, 2020-10-20 11:42:12

How to pull all hyperlinks from a column?

I have a column with N number of cells.
Each cell of the column contains a hyperlink of the form:
DOWNLOAD
Accordingly, the links are different in each cell.

How to get all these links in a list?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
datka, 2020-10-20
@andrey_levushkin


VBA source
Here's a VBA solution for those who can use it.
Create a VBA module with the following code:

Public Function GetURL(c As Range) As String
    On Error Resume Next
    GetURL = c.Hyperlinks(1).Address
End Function

To use, enter the following into any cell:
=GetURL(A1)
where A1 contains a hyperlink.
The function at work:
S1BII.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question