XLL+ Class Library

CXlMacros::GetName

Returns the definition of a name as it appears in the Refers To box of the Define Name dialog box

[C++]
static int GetName(
   CString& strname,
   const CXlOper& name_text
);

Parameters

strname

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

name_text

Reference is a cell or range of cells on a sheet or macro sheet.

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.

Remarks

See the Microsoft Excel on-line Help for full details about this function.

Requirements

Header: xlfuncs.h

See Also

CXlMacros Class | CXlMacros Methods