Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Error closing embedded Excel workbook in PowerPoint
I have an embedded Excel workbook in PowerPoint. I would like to save the
workbook but I get an error message. Here is what the code looks like: PowerPoint.OLEFormat oleFormat = shape.OLEFormat; oleFormat.Activate(); Excel.Workbook workbook = (Excel.Workbook)oleFormat.Object; string fileName = "c\\temp\\text.xls"; workbook.Close(true, fileName, missing); Is it possible to save the embedded Excel workbook to file? Is so, what's the best way to do it? Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
updating embedded powerpoint in excel file | Excel Discussion (Misc queries) | |||
Embedded Excel Objects in PowerPoint resize after editing | Excel Discussion (Misc queries) | |||
Error message adaytum.xla when closing workbook in Excel 2003 | Excel Discussion (Misc queries) | |||
Problem in updating the Powerpoint Embedded Chart with Excel figur | Charts and Charting in Excel | |||
EXCEL.EXE has generated an error...when closing a workbook | Excel Programming |