Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Microsoft.Office.Interop.Excel SaveAs error when clicking no or ca
I get an "error from Hresult" when attempting to SaveAs and clicking no or
cancel. Here is the line... workbookWrapper.ComObject.SaveAs(reportTypeFileNam e, Microsoft.Office.Interop.Excel.XlFileFormat.xlWork bookNormal, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Microsoft.Office.Interop.Excel.XlSaveAsAccessMode. xlNoChange, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing); It will bring up a message to overwrite a file, if the user selects "yes" then it works fine. Selecting "no" or "cancel" brings up Exception from HResult:0X800A03EC. Any ideas on what is happening? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Microsoft.Office.Interop.Excel when exporting from another program | Excel Discussion (Misc queries) | |||
Exception from HRESULT: 0x800A03EC. at Microsoft.Office.Interop.Excel.WorkbookClass.get_VBProject() | Excel Programming | |||
Excel .Net Interop - .Net code not executing. Custom install of Office 2003 | Excel Programming | |||
Interop.Excel version 11 does not work with Office 2003 sp2 | Excel Programming | |||
Deployment of Microsoft Office Xp Primary Interop Assembly | Excel Programming |