XLL+ Class Library (7.0)

CXlActiveSheetRestorer Class

Saves and restores the active cell in a worksheet.

class CXlActiveSheetRestorer

Overview

Use this class to restore the active sheet of a workbook after operations that may change the active sheet.

On construction, the object will save the active sheet, and on destruction, it will restore the active sheet.

Requirements

Header: xlpstatehelpers.h

See Also

CXlActiveSheetRestorer Methods | xlpstatehelpers.h