Tuesday, March 25, 2014

Attach external file in excel sheet by C#

Just add file in your worksheet by following code

ws.Shapes.AddOLEObject(Filename: @"c:\data\filename.pdf", Height: 10, Width: 10, Top: 150, Left: 300);

No comments:

Post a Comment