MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Exporting URLs from Excel to pushpin balloons

This is a discussion on Exporting URLs from Excel to pushpin balloons within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; In an Excel spreadsheet (I'm using Office XP) I have a pair of columns containing latitude and longitude numbers. In ...


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 (2) Thread Tools Display Modes
  2 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 07-01-2007
Junior Member
White Belt
 
Join Date: May 2007
Posts: 7
Exporting URLs from Excel to pushpin balloons

In an Excel spreadsheet (I'm using Office XP) I have a pair of columns containing latitude and longitude numbers. In a third column I have a formula of the form:

=HYPERLINK("http://maps.google.com/maps?f=q&hl=en&t=k&om=1&ll=" & H12 & "," & I12 & "&z=16","Google Image")

(Column H and I have the lat/lons respectively, and this was taken from row 12.)

This works very well to give me a cell in the spreadsheet I can click to get a browser opening up to Google maps with the row's lat/lon centered. I can also do the same thing with MS Maps, but I'll stick to Google in the example; the two work identically.

Now, I want to export the hotspot into a pushpin, in the balloon. If I simply export the hyperlink column in the import, I get a hyperlink in the pushpin balloon with the text and URL of "Google Image", which obviously doesn't work. So, I created a fourth column containing an expression building up the URL string:

="http://maps.google.com/maps?f=q&hl=en&t=k&om=1&ll=" & H12 & "," & I12 & "&z=16"

The problem (which is really an Excel problem, but I though y'all might have some insight) is that Excel treats this expression as a string; when I replicate it down the column, all the cells contain identically the same string; the H12 and I12 don't change by rows as I would expect them to do. When I go to edit the string, the cell refs change to colors and edit just fine, but back in the cell they don't act like expressions, but rather just constant strings.

Now, when I handbuild a URL in a cell with the real lat/lon inserted, I get closer to what I want in the export: the balloon contains a hotspot that calls up a browser window with the proper image displayed. The only problem is that the hotspot text is the whole URL, and I'd like something like "Google Maps".

Does anybody know how to do what I want to do here?
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
balloons, excel, exporting, pushpin, urls


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/exporting-urls-excel-pushpin-balloons-6024.html

Posted By For Type Date
Programming with MapPoint 2004 using the .NET Framework - MapPoint Articles - MP2K Magazine This thread Refback 07-06-2007 07:02 AM
Working With Excel and MapPoint - MP2K Magazine This thread Refback 07-04-2007 05:47 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
Hyperlinks to Outlook contacts in pushpin balloons kanigetts MapPoint 2006/2009 Discussion 5 06-27-2007 09:47 AM
Map Point Web Service 4.1 URLs join2nitin MapPoint Web Service and Virtual Earth 2 01-22-2007 07:40 AM
pushpin balloons Manuel MapPoint 2006/2009 Discussion 2 12-04-2002 07:55 PM
Pushpin balloons Anonymous MapPoint 2006/2009 Discussion 1 09-11-2002 09:14 PM
How do I keep pushpin balloons from overlapping. I.... Anonymous MapPoint 2006/2009 Discussion 1 08-24-2001 08:19 AM


All times are GMT -5. The time now is 05:42 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, 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 55