ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Embedding a file into an Excel spreadsheet? (https://www.excelbanter.com/excel-worksheet-functions/19044-re-embedding-file-into-excel-spreadsheet.html)

Ranjan

Embedding a file into an Excel spreadsheet?
 
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.Missi ng
" ,true,true,"packager.exe",0,"test.xls",Type.Missin g
,Type.Missing ,Type.Missing ,Type.Missing );

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


"Brian-in-CA" wrote:

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.



All times are GMT +1. The time now is 10:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com