 |
| IXlsWorkbooks |
 |
COM interface ( getting help with interfaces )
interface IXlsWorkbooks : IDispatch
{
[id(1),propget] HRESULT Count([out, retval]int* nbworkbooks);
[id(2),propget] HRESULT Item([in]int i, [out, retval]IXlsWorkbook** workbook);
[id(3)] HRESULT AddFilepath([in]BSTR filepath);
}
HRESULT Count([out, retval]int* nbworkbooks);
returns the number of opened workbooks.
HRESULT Item([in]int i, [out, retval]IXlsWorkbook** workbook);
returns the i-th workbook.
HRESULT AddFilepath([in]BSTR filepath);
adds the filepath to the list of paths where files are opened from. Useful to open workbooks with relative filenames.