View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
JSpence2003 JSpence2003 is offline
external usenet poster
 
Posts: 13
Default Distance Calculation

I already have a VBA Script that calculates distances from lat/long of 2
points (a reference point, then other locations). This type of script is
widely available on the net.

My situation now is that I have a list of 7 locations (each with its own
lat/long). I want to find out how close they are to each other.

With my current script, the only way I can figure this out is to copy the
locations into 7 separate columns to run the script 7 times. That is fine
with a small #, but what about if I have 100 locations?

Any suggestions?