Sets one of the single references in a multiple reference
CXlRef SetRefItem( WORD wItem, const CXlRef& xlr ); |
The index of the range to retrieve. The first item is at position 0.
A reference to a block of cells.
Sets the value of one of the single ranges in a multiple reference. If the CXlOper contains a single reference, and wItem is 0, then the function will affect the single reference itself.
The function will throw an exception of type CXlBadOperTypeException if the object does not contain a single or multiple reference, or of type CXlOutOfRangeException if wItem is out of range.
Header: xllplus.h
CXlOper Class | CXlOper Methods | CXlOper::GetRefCount() | CXlOper::GetRefItem()