XLL+ Class Library (6.3)

CXllCom::OleGetRangeWorksheet

Get the value of Range.Worksheet

static HRESULT OleGetRangeWorksheet(
   LPDISPATCH dispRange,
   LPDISPATCH* lpdisp
);

Parameters

dispRange

Range object.

lpdisp

If the function is successful, a pointer to the worksheet object will be placed here. It is the responsibility of the caller to Release() it.

Requirements

Header: xlpcom.h

See Also

CXllCom Class | CXllCom Methods | CXllCom::OleGetRangeAddress() | CXllCom::OleGetWorksheetWorkbook()