XLL+ Class Library

CXlOper::ToXLREF

Retrieves a single range reference from a CXlOper

[C++]
XLREF ToXLREF(
   BOOL bStrict = FALSE
) const;

Parameters

bStrict

If bStrict is FALSE (the default) then, if the CXlOper does not contain a single or multiple reference, the function will safely return the range "A1:A1". If the CXlOper contains a multiple range, then the function will return a copy of the first reference.

If bStrict is TRUE then the function will assert unless the CXlOper contains a single reference.

Return value

This function returns the range reference contained in a CXlOper, or the first such reference if there are many.

Requirements

Header: xllplus.h

See Also

CXlOper Class | CXlOper Methods | CXlOper::GetRef() | CXlOper::GetRefItem()