Defines a name on the active sheet
static int DefineName( LPCTSTR name_text, const CXlOper& refers_to = CXlOper::MissingArg() );
Name_text is the text you want to use as the name.
Refers_to describes what name_text should refer to.
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.
See the Microsoft Excel on-line Help for full details about this function.