Excel 2003 Maps

G

Guest

I have recently upgraded from Office 2000 to office 2003.
I have Excel worksheets containing VBA macros which maps create maps from the data. These worked fine under Office 2000, but now produce a "Run time error 1004 - cannot insert object".

This is the line of code which produces the error:
set oleobj=ActiveSheet.OleObjects.Add(Classtype:="MSMap.8")

Excel for Office 2000 has a component called Microsoft Map but I need to know the equivalent component for Excel 2003, or how to change the code above to work in Excel 2003.
 
J

JulieD

Hi

i looked this up in help the other day and found the "useful" comment of:
The Map tool is no longer available with Excel 2003. You may not be able to
open files created with the Map Tool unless you have an earlier version of
Microsoft Office installed.

.... so AFAIK you can't do it anymore

Cheers
JulieD


A Zolna said:
I have recently upgraded from Office 2000 to office 2003.
I have Excel worksheets containing VBA macros which maps create maps from
the data. These worked fine under Office 2000, but now produce a "Run time
error 1004 - cannot insert object".
This is the line of code which produces the error:
set oleobj=ActiveSheet.OleObjects.Add(Classtype:="MSMap.8")

Excel for Office 2000 has a component called Microsoft Map but I need to
know the equivalent component for Excel 2003, or how to change the code
above to work in Excel 2003.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top