Excel2003/C# (connecting to a running instance ?)

C

cybertof

Hello,

Is there a way to connect (through automation) a c# application to a
running Excel 2003 instance on a specific workbook ?

In the past, i used to use GetObject(...) function in VB6.

Regarding C#, I have heard about
System.Runtime.InteropServices.marshal.GetActiveObject
("Excel.Application")

but i think this is used only for COM Excel objects (Excel 2000, Excel
2002), isn't it ?

What about connecting to Excel 2003 ?
Is it COM interface or native interface (.net ? managed automation ? i
don't know what would be the name of the newest automation method)


Thanks for your help,

Regards,
Cybertof.
 

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