XLL+ Class Library (6.3)

CXlMacros::Error

Controls the display of alert dialogs while a macro is running

static int Error(
   bool enable_logical
);

Parameters

enable_logical

Enable_logical is a logical value specifying whether alerts are on or off. A value of true causes alerts to be displayed, false causes aletrs to be suppressed.

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 | CXlSuspendError