Switch on or off XLM4 macro error handling
[C++]
static SetErrorHandling(
BOOL bValue
);
TRUE to switch on error handling. FALSE to switch it off.
This function can be used to control how Excel reacts to failed functions.
It is equivalent to calling the XL4 macro "=ERROR(bValue)".
If error handling is switched off, then no Excel alert boxes will be shown. This function can only be called from macro functions.
It will always fail if called from worksheet functions.
Header: xllplus.h