XLL+ Class Library (6.3)

CXlMacros::GetNote

Returns characters from a note

static int GetNote(
   CString& strnote,
   const CXlOper& cell_ref = CXlOper::MissingArg(),
   unsigned short start_char = 1,
   short int num_chars = -1
);

Parameters

strnote

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

cell_ref

Cell_ref is the cell to which the note is attached.

start_char

Start_char is the number of the first character in the note to return.

num_chars

Num_chars is the number of characters to return.

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