| Re: Automate Multiple Maps
I am trying to get the distance for each customer to a master location. Some address are returning the correct # of miles, and some address are returning a time (12:00 AM). This is the code I am using:
Dim dDistance As Double
dDistance = Math.Round(oRoute.Distance, 1)
How can I get the correct number of miles for the addresses that are returning 12:00 AM?
p.s. I am programming in VBA using MapPoint 2006 |