Constructs a CXlActiveSheetRestorer object
CXlActiveSheetRestorer( bool saveNow = true ); CXlActiveSheetRestorer( const char* workbookName, bool saveNow = true ); CXlActiveSheetRestorer( const wchar_t* workbookName, bool saveNow = true ); |
If set to false, then this object will not save the active sheet, nor will it restore it on destruction unless Save has been called in the meantime.
If true, then the object will save the active sheet during construction, and will restore it at destruction.
The name of the workbook whose state is to be saved and restored. If omitted, then the name of the active workbook will be used.
Header: xlpstatehelpers.h
CXlActiveSheetRestorer Class | CXlActiveSheetRestorer Methods