LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default Can UDF return a customized hyperlink?

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 returns a 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 the value of the cell, but I'd like to see if a more direct approach from the UDF is possible.

Thanks.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula to return data using hyperlink? Mohamed Excel Worksheet Functions 2 December 11th 09 03:16 PM
Excel Web Query does not return hyperlink MikeA Excel Discussion (Misc queries) 3 December 29th 08 07:34 PM
Hyperlink to web does not return to original Excel worksheet g. spence Excel Discussion (Misc queries) 1 November 23rd 07 05:04 PM
Return to cell with last executed hyperlink Gary''s Student Excel Programming 0 October 11th 07 08:37 PM
Intra-workbook hyperlink: macro/function to return to hyperlink ce marika1981 Excel Discussion (Misc queries) 3 May 6th 05 05:47 AM


All times are GMT +1. The time now is 10:03 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"