Community of VE/MapPoint Users and Developers
This is a discussion on Trip duration within the Development forums, part of the MapPoint 2006/2009 Discussion category; I have an Excel user defined function to return the round trip distance between three way points (the start and ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Thanks for any help! Trebormac |
| |||
| Re: Trip duration
Thanks Eric, I did dig a little deeper and found "Driving Time" and "Trip Time", both members of the Route Class....I used the driving time method. With assistance from the MapPoint Help File I was able to create the VBA code I needed. Fot those interested I have attached the code as a text file. This is in the form of a user defined function in Excel, where I need to compute the driving time from a fixed location (address) to several dozen separate locations. Hence I hard coded the starting point in the code. This of course can be modified if there is no fixed starting point by using multiple input parameters in the function call, e.g., sAddress2, sAddress3, etc. and adding lines of code for each objRoute.Waypoint.FindResults(sAddress2...) The separate location addresses are in cells in a column. Invoke the function in a cell adjacent to the column containing the separate addresses, point it to the first address and hit OK. Then copy it down the column. If there a lot of addresses it may take some time to calculate. Thanks again, Trebormac |
![]() |
| Tags |
| duration, trip |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Merge routes/trips into one long trip | TenOC | MapPoint 2006/2009 Discussion | 1 | 05-21-2006 11:48 AM |
| automate stop duration and multiple routes | samlinc | MapPoint 2006/2009 Discussion | 1 | 01-22-2006 10:44 AM |
| Using Mappoint 2002 European edition for planning a USA-trip | Anonymous | MapPoint 2006/2009 Discussion | 1 | 09-21-2003 06:42 AM |
| Trip Planning | zylogue | MapPoint 2006/2009 Discussion | 0 | 03-07-2003 07:30 PM |
| Trip Standards: I'm thinking about purchasing MapP.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 12-17-2001 12:35 PM |
Flights to Germany
For flights to Germany book online with Holiday Hypermarket. Why not book some great value accommodation too? Check out how easy it is.
Italy Holidays
Find and book Italy Holidays with Travel Counsellors. Holiday destinations around the world including Italy.
Thailand Holiday
A Thailand Holiday has much to offer with historic culture, lively arts, beautiful beaches, a good nightlife, friendly and hospitable people and one of the best cuisines in the world.
Egypt Holidays
Visit one of the most spectacular sightseeing destinations in the world with The Holiday Place. Egypt holidays provide a fantastic break!
Holiday
Searching for the perfect holiday? Well check out ULookUBook online to find out all about your destination and also to book a great value holiday.
Family activity holidays
Family holidays can be full of fun activity. Check out your options at Travel.co.uk
Cheap Holidays to Goa
Dine on delightful seafood in west India. Find information on cheap holidays in Goa at On The Beach.