XLL+ Class Library (6.3)

CXllCom::OleGetWorksheets

Get the Worksheets collection for a named workbook

HRESULT OleGetWorksheets(
   LPCSTR pszWorkbook,
   LPDISPATCH* lpdisp
);

Parameters

pszWorkbook

Name of the workbook.

lpdisp

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.

Requirements

Header: xlpcom.h

See Also

CXllCom Class | CXllCom Methods | CXllCom::OleGetWorksheet()