XLL+ Class Library (7.0)


Returns the SheetName of a CXlOper containing a reference

CStringA GetSheetNameA( ) const;

Return Value

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


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.


Header: xllplus.h

See Also

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