XLL+ Class Library (7.0)

CXlActiveCellRestorer Class

Saves and restores the active cell in a worksheet.

class CXlActiveCellRestorer

Overview

Use this class to restore the active cell of a worksheet after operations that may change the active cell.

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

Requirements

Header: xlpstatehelpers.h

See Also

CXlActiveCellRestorer Methods | xlpstatehelpers.h