XLL+ Class Library (6.3)

CXlOper::FromMRef

Assigns multiple range references to the CXlOper

const CXlOper& FromMRef(
   const CXlRef* axlr,
   int cxlr,
   DWORD idSheet
);
const CXlOper& FromMRef(
   const CXlRef* axlr,
   int cxlr,
   const char* pszSheetName
);
const CXlOper& FromMRef(
   const CXlRef* axlr,
   int cxlr,
   const wchar_t* wpszSheetName
);

Parameters

axlr

An array of CXlRef single range references to be applied to the CXlOper.

cxlr

The size of the axlr array.

idSheet

The id of the sheet containing the references in axlr.

pszSheetName

The name of the sheet containing the references in axlr.

wpszSheetName

The name of the sheet containing the references in axlr.

Remarks

This function assigns the cell references contained in axlr on the indicated sheet to the CXlOper, and sets the type of the CXlOper to be xltypeRef.

Requirements

Header: xllplus.h

See Also

CXlOper Class | CXlOper Methods