ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel and MapPoint (https://www.excelbanter.com/excel-programming/311669-excel-mappoint.html)

james batley

Excel and MapPoint
 
I wasn't sure in which area this should be posted so I've
put it in the MapPoint newsgroup also.

I want to be able to load MapPoint 2004 and Load the
Import Data wizard from a control button in an Excel sheet.

Can this be done?

I currently have

Dim oApp As Object

Set oApp = CreateObject("MapPoint.Application")
oApp.Visible = True


This seems to open MapPoint but it doesn't stay open, it
just flashes on screen then disappears. There is no
record of it in the Task List.
If I cause the code to have a runtime error, the Mappoint
window stay but only because of the error.
I'm finding this very confusing, can anyone help?

Thanks, James


Eric Frost

Excel and MapPoint
 
This seems to open MapPoint but it doesn't stay open, it
just flashes on screen then disappears. There is no
record of it in the Task List.


Hi James,

I believe the MapPoint application is going out of scope and closing..
see the "Getting Started with MapPoint and Excel" example in a recent
MapPoint newsletter -
http://www.mp2kmag.com/update/mappoi.../#features_sec

Hope this helps,
Eric


All times are GMT +1. The time now is 03:42 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com