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: 24
Default Save workbook inplace

I have an add-in created in VS2005SE C# for Excel2003.

In the opened workbook I have to save some hidden informations. For that I
save them to a specific sheet of the workbook. These hidden informations are
saved when the workbook is deactivating and the workbook is in place.

My problem is that even if i place in the sheet my informations, the
informations are not saved. For this I've decided to call Workbook.Save. But
I get an error

System.Runtime.InteropServices.COMException (0x800A03EC): Exception from
HRESULT: 0x800A03EC
at Microsoft.Office.Interop.Excel.WorkbookClass.Save( )

Is there a way to save the workbook even if it is inplace? Or perhaps
another solution to my problem?

The workbook is opened inplace through IOleObject.DoVerb
 
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
SAP Excel 2007 Inplace Can't Save workbook [email protected] Excel Discussion (Misc queries) 0 June 5th 08 07:15 PM
How to save existing Workbook with a new new name, without changingthe open Workbook name? [email protected] Excel Programming 7 February 3rd 08 03:35 AM
delete workbook from one location and save workbook to new locatio Damien Excel Programming 5 August 3rd 06 03:05 PM
Select sheet tabs in workbook & save to separate workbook files stratocaster Excel Worksheet Functions 2 March 1st 06 03:35 PM
What commands do you use to name a workbook, save a workbook,open a workbook Steven R. Berke Excel Programming 1 July 24th 03 11:37 PM


All times are GMT +1. The time now is 01:00 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"