Get the Worksheets collection for a named workbook
HRESULT OleGetWorksheets( LPCSTR pszWorkbook, LPDISPATCH* lpdisp ); |
Name of the workbook.
If the function is successful, a pointer to the Worksheets object will be placed here. It is the responsibility of the caller to Release() it.
Header: xlpcom.h
CXllCom Class | CXllCom Methods | CXllCom::OleGetWorksheet()