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!
|