Controls the display of alert dialogs while a macro is running
static int Error( bool 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.
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.
See the Microsoft Excel on-line Help for full details about this function.
Header: xlfuncs.h