Get the value of Worksheet.Parent
static HRESULT OleGetWorksheetWorkbook( LPDISPATCH dispWorksheet, LPDISPATCH* lpdisp ); |
Worksheet object.
If the function is successful, a pointer to the workbook object will be placed here. It is the responsibility of the caller to Release() it.
Header: xlpcom.h
CXllCom Class | CXllCom Methods | CXllCom::OleGetRangeWorksheet() | CXllCom::OleGetRangeAddress()