LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Save Excel with a embeded PDF problem, can not open the PDF anymor

I use C# to generate a excel file. Inside it there is a embeded PDF file.

After I save the workbook using C# code, the PDF file is not clickable and
openable.

If I set the excel.visible = true when the sheet is generated, then the
excel application will popup. And if I save the sheet from there, the the
embeded PDF is works fine. I can double click it and then the adobe reader
opens PDF.

I also note that if I save the excel sheet in C#, the all the options in the
insert menu bar of that sheet is disable, e.g insert bar, picture, textbox,
all of these options are disabled.

Does anybody know what is wrong when I save the excel sheet.

Here is my code to save the excel sheet

workBook.SaveAs(this._reportFileName, XlFileFormat.xlExcel12, Type.Missing,
Type.Missing, Type.Missing, Type.Missing,
XlSaveAsAccessMode.xlShared, Type.Missing,
Type.Missing, Type.Missing, Type.Missing, Type.Missing);


Many thanks


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Office 2007 Save As PDF problem for Embeded Charts essam Excel Discussion (Misc queries) 1 August 20th 09 12:11 AM
Why can't I open embeded power point document in excel Embebded power point help Excel Worksheet Functions 5 January 29th 09 06:17 PM
fix for open/save file problem Patricia Shannon Excel Programming 0 April 25th 06 04:49 PM
Fix for open/save files problem Patricia Shannon Excel Discussion (Misc queries) 0 April 25th 06 03:46 PM
hyperlinking to open an embeded word doc? neowok[_26_] Excel Programming 2 February 27th 04 03:42 PM


All times are GMT +1. The time now is 12:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"