XLL+ Class Library

CXlMacros::Clear

Clears contents, formats, notes, or all of these from the active worksheet

[C++]
static int Clear(
   unsigned short type_num
);

Parameters

type_num

Type_num is a number from 1 to 4 specifying what to clear.

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