XLL+ Class Library (6.3)

CXllCom::OleGetWorkbookName

Get the name of a workbook

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