XLL+ Class Library (7.0)

CXlMacros::GetActiveWorkbookName

Returns the name of the active workbook

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