XLL+ Class Library

CXllCom::OleGetWorkbookName

Get the name of a workbook

[C++]
static HRESULT OleGetWorkbookName(
   LPDISPATCH dispWorkbook,
   CString& strName
);

Parameters

dispWorkbook

Workbook object.

strName

If the function is successful, the workbook's name will be placed here.

Requirements

Header: xlpcom.h

See Also

CXllCom Class | CXllCom Methods