Excel automation - writing image/picture files

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to automate Excel 2003 from Visual C# .Net. Is it possible to
export an picture/image file from c# to excel?

If so, how do you do this? Are there any code examples available?

Thanks.

Mansi
 
You can use the COM libraries that MS provides. In your project go to add
reference to the COM tab. If you have office installed you should be able to
find a library similar to "Microsoft Excel 11.0 Object Library". This library
allows you to automate Excel. The object model is very easy to learn. Notice
that almost everything in the library is an interface. You can get started by
going through the ApplicationClass class. Search MSDN for more information...

Take a look at this: www.codeproject.com/com/ComExcelImages.asp
 
Back
Top