Get the value of Range.Worksheet
static HRESULT OleGetRangeWorksheet( LPDISPATCH dispRange, LPDISPATCH* lpdisp ); |
Range object.
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.
Header: xlpcom.h
CXllCom Class | CXllCom Methods | CXllCom::OleGetRangeAddress() | CXllCom::OleGetWorksheetWorkbook()