I am currently using the following code on a Cmd button to load my next address on google maps for various work locations during the day.
The problem is google maps through the website will not allow me to access the navigation option, I think this can only be done through the app. Sometimes I use windows maps but its the same problem.
Is it possible to pick up the fields as below and somehow launch the maps app and paste the address straight into app?
I basically want to be able to load maps for the current job address on my form and move from point to point with the Navigation.
My code skills are very low so obtained following code from another user.
Thanks
The problem is google maps through the website will not allow me to access the navigation option, I think this can only be done through the app. Sometimes I use windows maps but its the same problem.
Is it possible to pick up the fields as below and somehow launch the maps app and paste the address straight into app?
I basically want to be able to load maps for the current job address on my form and move from point to point with the Navigation.
My code skills are very low so obtained following code from another user.
Thanks
Code:
Private Sub Command293_Click()
Dim strAddress As String
Dim strLink As String
On Error GoTo myErr
strAddress = Me.Address & " " & Me.Town & ", " & Me.City & " " & Me.Postcode
strLink = "http://maps.google.com/maps?hl=en&q="
Application.FollowHyperlink strLink & strAddress
On Error GoTo 0
Exit Sub
myErr:
Resume Next
End Sub