views:

258

answers:

2

hi i have inserted image on an excel worksheet...

how is it possible to refer to this image from c#, thanks a lot!

A: 

You will want to use the Clipboard object and the Excel Interop assembly. See here.

Nelson
A: 

There are two ways to do this: either start excel and get the image via the api, or open the excel file directly using the open xml format. I would recomend the latter. See:

http://msdn.microsoft.com/en-us/library/aa338205.aspx

for details on the format.

Shiraz Bhaiji