Using Excel 9 stufffin Excel 10

M

MilindT

I have an executable that copies some data sheets and a
macro from one work book to another. The code was written
in Office 2000.

It uses code like
codeLineCount = xlbook.VBProject.VBComponents.item
(qq).Export("C:\UserDefinedMacros.bas")

which is defined in EXCEL9.olb

When I run the same code on an Windows XP machine running
Office XP, it crashes.

Any help will be appreciated.

Best Regards

MilindT
 

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