Community of VE/MapPoint Users and Developers
This is a discussion on Automate Multiple Maps within the MapPoint 2006 Discussion forums, part of the Map Forums category; I imported a list of customers from excel and I would like to automate an individual map for each customer ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| |
| |||
| Re: Automate Multiple Maps
Hi, You can automate this if you do some custom programming. Do you have programming skills?
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| Re: Automate Multiple Maps
I have some programming skills, but it has been a few years since i have actually programmed. I am currently trying to refresh my mind with VisualBasic. Is there any code that is already written that I can use? |
| ||||
| Re: Automate Multiple Maps
There are some examples to get started at Working With Excel and MapPoint - MP2K Magazine I find it easy to code up ad hoc stuff in Excel VBA, that's probably my favorite "development platform" for MapPoint, for general work anyway.. Eric
__________________ Order MapPoint 2006 | Read Programming MapPoint in .NET | Start Using the Pushpin Tool - Free Trial Download - click here. |
| |||
| 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 |
| |||
| Re: Automate Multiple Maps
Hi, The Distance property of a Route object will return always the distance or 0 is it is not (or can not) calculated. But wy do you think that the value it return is a time?
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
|
I was hoping you could tell me why it could be returning a time instead of the number of miles. i'm stumped here is a screen shot of some code and the values i am getting. [IMG]file:///C:/DOCUME%7E1/ADMINI%7E1/LOCALS%7E1/Temp/moz-screenshot.jpg[/IMG] |
| |||
| Re: Automate Multiple Maps
Hi, Ok now I see what you mean. 1 thing we should be very clear. The Distance value is a floating point value representing the distance in miles or kilometers. It is not a time value. However a time value is also just a floating point value. Thus for some weird reason it is displayed as a time value in your Excel. Your code looks ok but I don't know anything of Excel. If someone can jump in here? There must be a way to tell Excel it is not a time value but just a floating point number to display.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| ||||
| Posted By | For | Type | Date | |
| Automate Multiple Maps - MapPoint Forums | This thread | Refback | 04-01-2008 04:53 PM | |
| A More Compact Method for Obtaining Lat/Long - MapPoint Articles - MP2K Magazine | This thread | Refback | 03-19-2008 02:23 AM | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Multiple maps? | VC_Man | MapPoint 2006 Discussion | 1 | 03-16-2007 12:02 PM |
| Manipulating multiple maps in Excel | briwagner | MapPoint 2006 Discussion | 3 | 09-26-2006 01:33 PM |
| automate stop duration and multiple routes | samlinc | MapPoint 2006 Discussion | 1 | 01-22-2006 10:44 AM |
| Importing multiple maps into Excel | dadburne | MapPoint 2006 Discussion | 5 | 10-19-2005 12:07 PM |
| Error with Multiple Symbol Maps | Anonymous | MapPoint 2006 Discussion | 1 | 01-13-2005 03:31 PM |
Flight Departures
Check Holiday Hypermarket to find flight departures to numerous exotic destinations. We link to details on flight departures and arrivals to help you find information fast.
City Break Holidays
Book city break holidays through Travel Counsellors. A personal travel advisor will help with your city break holiday plans.
Holidays Thailand
Holidays in Thailand are hugely diverse with wonderful luxury resorts and beaches but also some lovely forested mountains with interesting hill tribes. See dealchecker.co.uk.
Cancun Holidays
Cancun holidays offer beautiful scenery, calm waters and plenty of shopping. Get a taste of the good life while on holiday in Cancun.
Cheap Balearics Holidays
Cheap Balearics holidays are available if you know when to book and who to book with. The Balearics have many fascinating places to visit all year round. The partying never stops.
Cheap Travel
For cheap travel options, visit Travel.co.uk and explore the benefits of our comparison site.
Lanzarote Holidays
Visit the easternmost island of the archipelago! Book Lanzarote holidays at On The Beach!