U
ucdcrush
I am working on a UDF which returns 3 values across 3 cells (ie select 3 cells, enter "=geocode(a1:c1)" as an array formula, and it returns lat, lon, and something else from the address in a1:c1.
The something else part is supposed to be a clickable hyperlink which is customized to display the particular latitude and longitude location on Google maps website.
However, I do not know how to store the hyperlink in the cell (from the UDF) so that it's clickable. I thought I could set the cell to be the HYPERLINK function which included the lat/lon link, but when I try, it just returnsa cell containing what seems like plain text containing the function
=HYPERLINK("http://www.google...","link")
It's not clickable, and as far as I can tell, it's plain text.
Is there a way to return, from the UDF, a cell containing a working Hyperlink function? Or another way to do this? I was thinking a separate VBA program which could process each cell in a range, by creating a hyperlink to thevalue of the cell, but I'd like to see if a more direct approach from the UDF is possible.
Thanks.
The something else part is supposed to be a clickable hyperlink which is customized to display the particular latitude and longitude location on Google maps website.
However, I do not know how to store the hyperlink in the cell (from the UDF) so that it's clickable. I thought I could set the cell to be the HYPERLINK function which included the lat/lon link, but when I try, it just returnsa cell containing what seems like plain text containing the function
=HYPERLINK("http://www.google...","link")
It's not clickable, and as far as I can tell, it's plain text.
Is there a way to return, from the UDF, a cell containing a working Hyperlink function? Or another way to do this? I was thinking a separate VBA program which could process each cell in a range, by creating a hyperlink to thevalue of the cell, but I'd like to see if a more direct approach from the UDF is possible.
Thanks.