E
Erik
I'm trying to extract the URL from a hyperlink in a cell. I've been
trying to use the following function:
Function HyperlinkAddress(Cell)
On Error Resume Next
HyperlinkAddress = Cell.Hyperlinks(1).Address
If HyperlinkAddress = 0 Then HyperlinkAddress = "**"
End Function
All it ever returns is **. Cell.Hyperlinks.Count also returns 1.
This works perfectly with Excel on Windows XP, but I can't get it to
work on the Mac with Excel from Office X. I've also tried a few other
methods, but can't seem to extract the URL. Is there something I'm
doing wrong or does this just not work on the Mac?
trying to use the following function:
Function HyperlinkAddress(Cell)
On Error Resume Next
HyperlinkAddress = Cell.Hyperlinks(1).Address
If HyperlinkAddress = 0 Then HyperlinkAddress = "**"
End Function
All it ever returns is **. Cell.Hyperlinks.Count also returns 1.
This works perfectly with Excel on Windows XP, but I can't get it to
work on the Mac with Excel from Office X. I've also tried a few other
methods, but can't seem to extract the URL. Is there something I'm
doing wrong or does this just not work on the Mac?