Get a member of the Application.Workbooks collection by name
[C++]
HRESULT OleGetWorkbook(
LPCSTR pszWorkbook,
LPDISPATCH* lpdisp
);
Name of the workbook.
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::OleGetWorkbooks()