XLL+ Class Library

CXlMacros::ApplyStyle

Applies a previously defined style to the current selection

[C++]
static int ApplyStyle(
   const char* style_text
);

Parameters

style_text

Name of a previously defined style.

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