Solved

How to get distance from one location to another from google maps

Posted on 2014-12-18
7
115 Views
Last Modified: 2015-01-16
Hello,

 I would like to have distance in miles between several addresses.  As shown in the sample excel file, I would like to enter a location in a spreadsheet and distance from the previous location is automatically calculated .  So that I can calculate the total distance until returned to original location.  

 Thanks again,

 Mareeka
sample.xlsx
0
Comment
Question by:mareeka
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 17

Expert Comment

by:vb_elmar
ID: 40507056
Can you provide it as an "old" XLS version?
0
 
LVL 22

Expert Comment

by:plusone3055
ID: 40507060
there is no VB version of the google maps API...
 its done in javascript
so your going to have to have to use javascript functions to do this


one way would be to read the cells off the excel sheet  in vb and use javascript to
enter those as start/end points into the API  paste the results back to the excel sheet, then do a sum

https://developers.google.com/maps/documentation/javascript/tutorial
0
 

Author Comment

by:mareeka
ID: 40507111
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 17

Accepted Solution

by:
vb_elmar earned 500 total points
ID: 40508469
Here is a sample.
8.xls
0
 
LVL 17

Expert Comment

by:vb_elmar
ID: 40509654
Here is another sample. It contains a route calculation for
Chicago, Greensboro, High Point and Seattle
sam3.xls
0
 
LVL 48

Expert Comment

by:Martin Liss
ID: 40553080
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question