Excel Automation - type compatibility

V

vikrantca

Hello,
Iam writing some code in VB 6.0 that will output the results of a
calculation to a spreasheet. I just need to create a new workbook and write
data to the first sheet in it.
Which type library/ object model version should I use while developing the
code, so that The code will compatible with versions of Excel from 2000
onwards ?
I tried compiling using Excel 2003, but the code gives an error "Library not
registered" when run on a computer with Excel 2000.

Thank you in advance.
vikrantca
 
D

Dave Hart

You need to develop your code with the earliest
version of Excel that you wish to run on.
In this case, Excel 2000.

Dave Hart
 

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