MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Mapping from a spreadsheet

This is a discussion on Mapping from a spreadsheet within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi all, I'm new to the Mappoint program and all that it entails. What I am trying to do is ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack (5) Thread Tools Display Modes
  5 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 06-09-2008
Junior Member
White Belt
 
Join Date: Jun 2008
Posts: 2
Red face Mapping from a spreadsheet

Hi all,
I'm new to the Mappoint program and all that it entails.
What I am trying to do is this:
import addresses from an excel spreadsheet and have each pin show up as a number associated to a number on the spreadsheet.
For instance: if I have a spreadsheet with the following columns and 20 rows (or more): Number, Street Address, City, State, Zip. How can I make mappoint put numbered pins down that correspond to the number column in the spreadsheet. (or is there another way, possibly using the row numbers, or to create my own pins and associate them somehow?)

Thanks for any advice you can provide!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 06-09-2008
Junior Member
Yellow Belt
 
Join Date: Oct 2007
Posts: 23
Re: Mapping from a spreadsheet

It depends!
(a) do you want a pin: (i) with a number on it, or (ii)simply a description associated with the pin which has the row data?
(b) are you expecting to import excel data into Mappoint or run this using VBA from Excel?
If you want (a.i) then there is a limited option to do this by using the pin icons with successive numbers on (they don't go very high) but you will want to do this using VBA.
If you want (a.ii) you could use Mappoint import: create a formula in excel with the row address (using Address function) and then use that column as the location description column.
I am happy to describe further if you clarify your aim.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 06-09-2008
Junior Member
White Belt
 
Join Date: Jun 2008
Posts: 2
Re: Mapping from a spreadsheet

Thanks for the quick response!

yes, I am aiming for ai, but the pin has to match a number from the spreadsheet. Have been doing it manually, but that's incredibly time-consuming.

Am not sure what VBA is?

The goal is to be able to differentiate the pins on the map without having to click on them to get the address information. Likely to be more numbers than what's listed in mappoint, but can deal with that later...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 06-09-2008
Junior Member
Yellow Belt
 
Join Date: Oct 2007
Posts: 23
Re: Mapping from a spreadsheet

VBA is Visual Basic for Applications (ie the macro language in Excel).
If you are not familiar with it, there are some good articles on the site about getting VBA to talk to Mappoint and then put the data into Excel. You probably want to start there. Basically you need to reference Mappoint within the VBA editor.
The numbered pins are graphic, so you can't program the numbers directly. They start at symbol#208 (pin with '1' on it, 209 has '2' etc)
so you need to place pushpins on the map and change the symbol to the right symbol# for your row (I don't know how high these numbered pins go - not far I think, but there is continuing set with a different symbol number range. (a link to the full list of symbol numbers must be somewhere on the site).

The code, when you get there, will need to be something like:

Code:
    Dim PP As MapPoint.Pushpin
    Dim oLocn as Mappoint.Location
    Dim Cell as Excel.Range
    Dim i as integer
    i=0
    For each cell in ActiveWorkbook.Range("TargetRange")
     i=i+1     
     Set oLocn = gobjMap.FindResults(Cell.Value).Item(1)
     Set PP = MapPoint.ActiveMap.AddPushpin(oLocn, "")
     PP.Name = "Pushpin " & i
     PP.Symbol = 207+i
    Next Cell

Last edited by Eric Frost; 06-09-2008 at 02:05 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
mapping, spreadsheet


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/mapping-spreadsheet-7797.html

Posted By For Type Date
Environment«Science«DirectoryFaqs Web Directory This thread Refback 2 Days Ago 02:11 PM
JAVA, J2ME  Bluetooth Programmierung und Softwareentwicklung | Bluetooth, Diplomarbeit, Java / J2ME | Programmierung & Software Entwicklung Java J2ME Android This thread Refback 10-05-2008 09:14 AM
94303 Directory This thread Refback 08-17-2008 04:45 PM
MapPoint Download - MP2K Magazine This thread Refback 06-12-2008 11:15 AM
Map Individual U.S. States in MapPoint - MP2K Magazine This thread Refback 06-09-2008 10:34 AM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Where is Routing Spreadsheet? Shapefile Help? pvsmith MapPoint 2006/2009 Discussion 2 08-06-2006 05:33 AM
screwedup spreadsheet rgrstvr MapPoint 2006/2009 Discussion 3 01-11-2006 05:12 PM
3-D Mapping jgospe MapPoint 2006/2009 Discussion 1 12-17-2004 09:51 AM
Mapping GPS Data Anonymous MapPoint 2006/2009 Discussion 2 09-24-2003 12:11 PM
Different Pushpin Symbols from Spreadsheet Terry MapPoint 2006/2009 Discussion 0 05-20-2003 01:52 AM


All times are GMT -5. The time now is 03:22 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54