Read hyperlink from Excel without URL

  1. first create a txt file e.g. “Data\macro.txt” with this code inside
Function GetURL(cellAddress as string) As String
GetURL = Range(cellAddress).Hyperlinks(1).Address
End Function
  1. in your invoke VBA activity, pass in the cell where you want to read the hyperlink
    image

  2. assign output to an object variable e.g. “output”

  3. print output using output.tostring
    image

My example:
Excel:
image
workflow:


Result:
image
TestGetLink.xaml (6.4 KB)
test.xlsx (8.8 KB)

1 Like