XLL+ Class Library

CXlMacros::Note

Creates a note or replaces characters in a note

[C++]
static int Note(
   const char* add_text = "",
   const CXlOper& cell_ref = CXlOper::MissingArg(),
   unsigned short start_char = 1,
   unsigned short num_chars = -1
);

Parameters

add_text

Add_text is text of up to 255 characters you want to add to a note.

cell_ref

Cell_ref is the cell to which you want to add the note text.

start_char

Start_char is the number of the character at which you want add_text to be added.

num_chars

Num_chars is the number of characters that you want to replace in the note. A value of -1 is treated as a missing argument.

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