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

Hi

From my brief look at your problem you face the following with direct
Geo-Coding, here's a coupe of locations where you can read up on the
Whats What.

https://developers.google.com/maps/d...on/staticmaps/

https://developers.google.com/maps/d...verseGeocoding

You, and or your users of this will require a Google Account, at which
time can set up the required uses of Google's ( Maps API v3 & or Google
Maps Coordinate API ) of which both have daily limitation ( 25,000 &
1,000 respectively ), anything beyond this means you have to start
paying for it.

You will also have to Create an oAuth 2.0 Client ID for API Access.

Anyways good luck with your venture, I put together this little chunk of
code, but without setting up the required API Client & Access, it gives
an Error 404.

HTH
Mick.

Sub Goto_myMap()

Dim IE As Object
Dim myLon As Range, myLat As Range
Dim myMapRef As String

Set IE = CreateObject("InternetExplorer.Application")
Set myLat = [A2]
Set myLon = [B2]

myMapRef = myLat & "," & myLon

If Not myMapRef = "" Then
IE.Visible = True
IE.navigate "http://maps.googleapis.com/maps/api/staticmap?Center="
& myMapRef & "&sensor=false"
End If

Set IE = Nothing
Set objElement = Nothing
Set objCollection = Nothing

Application.StatusBar = ""

End Sub


 
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:01 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"