MFC Automation

M

Macca

Hi,

I am writing a MFC application that is using automation to write data to an
excel spreadsheet.

The question I have is that when i create the add the class through the
classwizard, it asks me
for the path of the type library i want to use. I am using excel and
obviously there are many versions
of excel. Is there any way when i choose the type library that i can make
it backwards compatible
with previous versions of excel?

e.g I have a version of excel that is installed in directory

C:\ProgramFiles\Microsoft Office\Office10.

Now what happens if i copy my program to another PC that has a different
version of office/excel installed or it is installed in another directory?

How scalable is the automation as i have described above?

Thanks In Advance
Macca
 

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