Jun 14

Excel and C#

Adding image at a particular cell in Excel Spreadsheet

https://social.msdn.microsoft.com/Forums/lync/en-US/5c6e7ebd-66e2-40fa-9194-aed5cdc3f0ae/adding-image-at-a-particular-cell-in-excel-spreadsheet?forum=oxmlsdk

 

How to: Insert text into a cell in a spreadsheet document (Open XML SDK)

https://msdn.microsoft.com/en-us/library/office/cc861607.aspx

 

You will need reference to OpenXML, Systems.IO.Packaging, System.xml and/or similar.

 

You may need to copy the related DLLs to your production at deployment (depends on your deploy method)

 

to insert image located at another site (if any and under your control), you may need to change IIS config for : Allow Access Control

 

 

 

Skip to toolbar