View Single Post

  #2 (permalink)  
Old 11-18-2003
John Meyer's Avatar
John Meyer John Meyer is offline
Senior Member
Blue Belt
 
Join Date: Jul 2002
Posts: 479
Give this a try.

Dim objmap As MapPoint.Map
Code:
Dim pp As MapPoint.Pushpin
On Error Resume Next
Set objmap = GetObject(, "MapPoint.Application").ActiveMap
Set obj1 = objmap.Selection
If TypeOf objmap.Selection Is Pushpin Then
Set pp = objmap.Selection
MsgBox pp.Name
End If
__________________
John
http://www.support-pc.com

Order MapPoint 2006 Here
https://secure.mp2kmag.com/?refer=support-PC
Reply With Quote