How can I split a hyperlink?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to get the tex and the link from a list of Hyperlinks in a spreedsheet.
 
Try something like the following:

Dim HL As Hyperlink
For Each HL In ActiveSheet.Hyperlinks
Debug.Print HL.TextToDisplay
Debug.Print HL.Address
Next HL


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
 

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

Back
Top