XLL+ Class Library (6.3)

CXlOper::GetSheetName

Returns the SheetName of a CXlOper containing a reference

CString GetSheetName( ) 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.

Example

MyAddress Example

Requirements

Header: xllplus.h

See Also

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