XLL+ Class Library (6.3)

CXlMacros::DefineName

Defines a name on the active sheet

static int DefineName(
   LPCTSTR name_text,
   const CXlOper& refers_to = CXlOper::MissingArg()
);

Parameters

name_text

Name_text is the text you want to use as the name.

refers_to

Refers_to describes what name_text should refer to.

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