hyperlinks and filenames

E

Elin

Hi!

If I got a hyperlink can I, by using a formula, get the
filename of the hyperlink?

Kindly regards
//Elin
 
R

Richard Daniels

Hi this should work

Function hyperlinkAddress(Cell1 As Range)
hyperlinkAddress = Cell1.Hyperlinks.Item(1).Address
End Function
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top