XLL+ Class Library (6.3)

CXlOper::GetSheetNameW

Returns the SheetName of a CXlOper containing a reference

CStringW GetSheetNameW( ) const;

Return Value

Worksheet name of the worksheet containing the cell or cells referenced.

Remarks

For a CXlOper that contains a reference (either single or multiple) this function returns the sheet name.

The function throws an exception of type CXlBadOperTypeException if the object does not contain a single or multiple reference.

Requirements

Header: xllplus.h

See Also

CXlOper Class | CXlOper Methods | CXllApp::GetSheetName()