Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 8th, 2014, 01:04 PM
Authorized User
 
Join Date: Apr 2006
Posts: 46
Thanks: 0
Thanked 1 Time in 1 Post
Default Google map html value

Hi,
I 'd like to open my form using a web browser that shows google map!
But i want to change the coords using a variable, but this doesn't seem to work!

Private Sub Form_Open(Cancel As Integer)

Dim varAddress As String
Dim strCoord As String

strCoord = "38.0587739,23.757828,92m"

'varAddress = "https://www.google.gr/maps/@38.0587739,23.757828,92m/data=!3m1!1e3?hl=el"

varAddress = "https://www.google.gr/maps/@ & strCoord & /data=!3m1!1e3?hl=el"

Me!WebBrowser0.Navigate varAddress
End Sub


thank you very much!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Google map + bespoke markers adamhw Ajax 0 August 30th, 2010 02:59 AM
google map clicked coordinates neon20 Javascript 4 June 18th, 2008 07:32 AM
Heat Map over Google Map ajit Javascript 0 March 7th, 2008 09:01 AM
google map GetDirections problem mrjoka Javascript How-To 0 October 4th, 2007 09:08 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.