Exports Routes (locations & miles & dates) from Google to Excel

Daoust ICT
Daoust ICT used Ask the Experts™
on
as all of us know, Google take care of where you are going while your mobile follow you.
I want to grab this information (destination,dates and number of miles) into Excel.
Any idea?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
If your smartphone is connected to a goegle account then you can retreive your location history here:
maps.google.com/locationhistory
download-copy-of-all-your-data.jpgDeselect everything exept your Location History you can download it in History.json and then use that data.

regards!

grtz,

Davy
Daoust ICTIcT service Desk

Author

Commented:
Tks. euh... what's History.Json ? how to use it?
Hi François,

History.json is the export of your locations that you visited.
You can use the following Json parser:
https://www.codeproject.com/Articles/828911/Recursive-VBA-JSON-Parser-for-Excel


https://github.com/VBA-tools/VBA-JSON
A tutorial on how to use VBA-JSON:
https://www.youtube.com/watch?v=CFFLRmHsEAs&feature=youtu.be

grtz,

Davy
Hi François,

Another method is to export to KML.

KML.JPG
Then use the following method to import in to excel:
1- Download the kml file
2- rename the file to .xml
3- from excel 2007 go to Data > From Other Sources > From XML Data Source
4- Browse to where you saved the file to impoort into excel.
5- Excel will prompt that it can find the schema and will try to make it by it's own, accept it.
and you should see your data imported successfully
Hope this few steps help you to acheive your task
Hi François,

I wouldn't  use excel as there is a tremendous amount of data. You can use MS SQL expres and the Management studio:

https://www.microsoft.com/en-us/sql-server/sql-server-editions-express

https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms

Let me know if you need any help with the instalation and the import.

grtz,

Davy

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial