XLL+ Class Library

CXlMacros::GetActiveWorkbookName

Returns the name of the active workbook

[C++]
static int GetActiveWorkbookName(
   CString& book_name
);

Parameters

book_name

A reference to a string that will contain the desired data if the function succeeds.

Return value

Zero if the function has been called successfully; non-zero if the function could not be called. See Error codes for a list of return values.

Requirements

Header: xlfuncs.h

See Also

CXlMacros Class | CXlMacros Methods