MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Excel User-Defined Functions and MapPoint

This is a discussion on Excel User-Defined Functions and MapPoint within the MP2K Magazine Articles forums, part of the Map Forums category; Excel User-Defined Functions and MapPoint David Hager demonstrates how to incorporate MapPoint functionality into a user-defined Excel function Read the ...


Go Back   MapPoint Forums > Map Forums > MP2K Magazine Articles

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



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-17-2005
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 2,378
Blog Entries: 1
Excel User-Defined Functions and MapPoint

Excel User-Defined Functions and MapPoint

David Hager demonstrates how to incorporate MapPoint functionality into a user-defined Excel function

Read the full article here --
http://www.mp2kmag.com/a124--excel.udf.mappoint.html

To post a comment or question click "Post Reply"
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 4 Days Ago
Junior Member
White Belt
 
Join Date: Sep 2008
Posts: 7
Smile Re: Excel User-Defined Functions and MapPoint

Would be glad to hear if the UDF functions work with MapPoint 2006 as well.

Tried copying and pasting Hagers first example right into the Excel 2003 VBA Editor. Entering the values in the Excel sheet as proposed by Hager and invoking the formula with =StraightLineDist(A1, A2) just provoked an error message telling me that the function contained unknown text. (By the way, the MapPoint Object Library in the Tools Reference menu were ticked).

Would otherwise be a very handy tool!
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 4 Days Ago
Junior Member
White Belt
 
Join Date: Sep 2008
Posts: 7
Smile Re: Excel User-Defined Functions and MapPoint

Well it did work in MapPoint 2006! I did a mistake when inserting the function in Excel VBA.
Glad to see that the code bits you presented in your mini tutorial also works as UDF:s in Excel cells.
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 4 Days Ago
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 2,378
Blog Entries: 1
Re: Excel User-Defined Functions and MapPoint

Congrats on getting it to work! Do you want to post your spreadsheet as an attachment with some short instructions? Maybe it will help some other people.

Eric
__________________
~ Now taking orders for MapPoint 2009 ~
~
~ Upgrade to MapForums Plus membership ~
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
excel, functions, mappoint, userdefined


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
New user: Exporting multiple data sets to excel rpone605 Products: Pushpin Tool, Single State Mapper 0 06-20-2006 03:54 PM
mappoint functions in visual c++ spirido MapPoint 2006/2009 Discussion 0 04-07-2004 08:21 AM
User-defined type not defined Anonymous MapPoint 2006/2009 Discussion 1 05-01-2003 07:46 AM
Problems with copy and paste of user-defined territories Ute MapPoint 2006/2009 Discussion 2 04-14-2003 11:38 AM
Disabling Cntl Key Functions from MapPoint Control Anonymous MapPoint 2006/2009 Discussion 2 03-18-2003 06:06 AM


All times are GMT -5. The time now is 10: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

Borovets Ski
Enjoy the stunning scenery of the Rila Mountains when you book a Borovets Ski Holiday in Bulgaria. Holiday Hypermarket makes price comparison between competitors easy.

City Breaks
Top 10 City Breaks . Based on holidays booked this year, these are the most popular City Breaks for 2006

Cuba Holiday
A Cuba Holiday has so much to offer with numerous different cultures affecting the sights, sounds and tastes. Visit this fascinating country with dealchecker.co.uk.

Holidays to Mauritius
Visit the paradise island in your holidays to Mauritius. Enjoy the friendliness of the locals, the warm of the sun and the beauty of the views!

Balearics
Before booking to the Balearics Islands make sure you check out our travel guide online. The Balearics are renowned for their vibrant nightlife but there are also some stunning Gothic cathedrals, Stone Age ruins and fishing villages.

Air Travel
Interested in air travel? Search and compare millions of holidays, flights and hotels with our help at Travel.co.uk

Holidays in Sharm el Sheikh
Need booking info on holidays in Sharm el Sheikh? Visit On The Beach for more information!


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