XLL+ Class Library

CXlMacros::DefineName

Defines a name on the active sheet

[C++]
static int DefineName(
   const char* 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