Get the name of a workbook
static HRESULT OleGetWorkbookName( LPDISPATCH dispWorkbook, CString& strName );
Workbook object.
If the function is successful, the workbook's name will be placed here.
Header: xlpcom.h
CXllCom Class | CXllCom Methods