We all use VBA macro to automate reports and for that we are very much dependent on Google. Google provides lot of information but at times it’s difficult to locate the right piece of information. This blog is created to share some useful VBA codes which can be used by professionals in their work. You will find ready to use codes and formulas to make your job easy.
Saturday, August 31, 2013
Get URL from an hyperlink in Excel
VBA code to get the URL address from a link: 'Extract URL from hyperlink Function HLink(rng As Range) As String If rng(1).Hyperlinks.Count Then HLink = rng.Hyperlinks(1).Address End Function