Get the Application.Workbooks collection
HRESULT OleGetWorkbooks( LPDISPATCH* lpdisp ); |
If the function is successful, a pointer to the Workbooks object will be placed here. It is the responsibility of the caller to Release() it.
Header: xlpcom.h