Open Google Earth Using VBA for Access. Google Earth API
This article explains how you can use VBA for Access to open google earth.
Note: The google earth API will only be available if you have Google Earth installed on your computer.
The first step would be to add reference to the Google Earth 1.0 Type Library. Note the version might be different on your computer.
Using the code below you will be able automate Google Earth from Access:
Sub main()
Dim appGoogleEarth As EARTHLib.ApplicationGE
Set appGoogleEarth = New EARTHLib.ApplicationGE
End Sub
You can download the file and code used in this article from the link below:
One thought on “Open Google Earth Using VBA for Access. Google Earth API”