Embedding a file into an Excel spreadsheet?

B

Brian-in-CA

I am trying to fully embed a *.pdf file into an Excel spreadsheet so that a
simple Adobe icon appears in a cell. I want to be able to email the
Spreadsheeet to co-workers and they should have the ability to double-click
on the icon and open the Adobe file. I have done this in the past but it seem
like sometimes the file can be opened and sometime it cannot.
 
R

Ranjan

Hi Brian,

would like to know about any workaround for .pdf & .zip files. For all other
office formats we are using,

Excel.Shape shp = (Excel.Shape)oSheet.Shapes.AddOLEObject(Type.Missing
,@"D:\Customers.xls" ,true,true,"packager.exe",0,"test.xls",Type.Missing
,Type.Missing ,Type.Missing ,Type.Missing );

What can be parameters for .pdf & .zip files?
 

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