jonastiger
Member
Hi
I have a userform in which I want to setup a webbrowser pointing to google maps and Lat/long reference.
This userform manages data from about 4000 clients/locations, so when it's open we can navigate through clients data e show treir location in a map.
I'm using the code:
For the button GO
As shown in the picture, the webbrowser only links to google page
I have also tried the link "https://www.google.com/maps?q="
The ideal would be no need for the button so, while navigate to the next client, the webbrowser would update location with its coordinates
I can't make it work, I've searched in the net and no answer to this, so I would appreciate your time and help
Thank You very much in advance
JT
I have a userform in which I want to setup a webbrowser pointing to google maps and Lat/long reference.
This userform manages data from about 4000 clients/locations, so when it's open we can navigate through clients data e show treir location in a map.
I'm using the code:
Code:
Private Sub Userform_Activate()
'Other code...
WebBrowser1.Navigate "https://www.google.com/maps/" & TxtLatitude.Text &" "& TxtLogitude.Text
End Sub
For the button GO
Code:
Private Sub BtnGO_Click
Me.WebBrowser1.Navigate "https://www.google.com/maps/" & Me.TxtLatitude.Text &" "& Me.TxtLogitude.Text
End Sub
As shown in the picture, the webbrowser only links to google page
I have also tried the link "https://www.google.com/maps?q="
The ideal would be no need for the button so, while navigate to the next client, the webbrowser would update location with its coordinates
I can't make it work, I've searched in the net and no answer to this, so I would appreciate your time and help
Thank You very much in advance
JT