XLL+ Class Library (6.3)

CXlActiveBookRestorer Class

Saves and restores the active workbook.

class CXlActiveBookRestorer

Overview

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

On construction, the object will save the name of the active workbook, and on destruction, it will attempt to select the active workbook.

Requirements

Header: xlpstatehelpers.h

See Also

CXlActiveBookRestorer Methods | xlpstatehelpers.h