Returns the SheetId of a CXlOper containing a reference
DWORD GetSheetId( ) const; |
32-bit integer value representing the unique identifier assigned to the worksheet by Excel. This value remains the same throughout the life of the worksheet object. It is reassigned each time the spreadsheet is opened.
Throws an exception of type CXlBadOperTypeException if the CXlOper is not a reference.
For a CXlOper that contains a reference (either single or multiple) this function returns the SheetId.
The function throws an exception of type CXlBadOperTypeException if the object does not contain a single or multiple reference.
Header: xllplus.h