Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Launch a sub in MapPoint in Excel

Hello,

I have insert a map of USA in Excel (MapPoint in Excel) in
a worksheet in Excel. I have insert the name of each state
in this map. If i select a state, i have the name of this
state. I would like to launch a sub when i click on a
state like if i select Arizona, i have Sub Arizona_Click
but it's not possible but do you have a solution ?.

Thanks for your help

Nilses
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Launch a sub in MapPoint in Excel

Nilses,

If I insert an object onto my spreadsheet - right click on the object and
select 'Assign Macro'.

Worked fine with an inserted clip art. Might work with your map if each
state is a separate object (or the name is an object).

--
steveb
(Remove 'NOSPAM' from email address if replying direct)
"Nilses" wrote in message
...
Hello,

I have insert a map of USA in Excel (MapPoint in Excel) in
a worksheet in Excel. I have insert the name of each state
in this map. If i select a state, i have the name of this
state. I would like to launch a sub when i click on a
state like if i select Arizona, i have Sub Arizona_Click
but it's not possible but do you have a solution ?.

Thanks for your help

Nilses



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Launch a sub in MapPoint in Excel

I have insert a map of USA in Excel (MapPoint in Excel) in
a worksheet in Excel. I have insert the name of each state
in this map. If i select a state, i have the name of this
state. I would like to launch a sub when i click on a
state like if i select Arizona, i have Sub Arizona_Click
but it's not possible but do you have a solution ?.


MapPoint is fully programmable from within an Excel macro/VBA
code. There are several example on MP2Kmag, this is probably
the most basic example:
http://www.mp2kmag.com/a39--word.acc....mappoint.html

You might find a number of other examples by searching like
this:
http://www.google.com/search?q=site%...Ecom+Excel+VBA

best,
Eric

http://www.mp2kmag.com/mappoint.2004/guide
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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
Excel to MapPoint datamap Lenore Benefield Excel Discussion (Misc queries) 1 October 4th 08 03:51 PM
mappoint smart tags in excel - (not working) Nick Gibbs Excel Discussion (Misc queries) 0 August 20th 07 11:18 AM
Insert PDF from MapPoint into Excel or Word chrissyb Excel Discussion (Misc queries) 3 December 7th 06 11:21 PM
how do I integrate MapPoint into Excel? 4ldoherty Excel Discussion (Misc queries) 2 June 16th 06 08:58 PM
using mappoint in Excel VB Mike Macgowan Excel Programming 0 October 27th 03 11:57 PM


All times are GMT +1. The time now is 10:50 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"