Get a Worksheet by name
HRESULT OleGetWorksheet( LPCSTR pszWorkbook, LPCSTR pszWorksheet, LPDISPATCH* lpdisp ); |
Name of the workbook.
Name of the worksheet.
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::OleGetWorksheets()