This run-time message is generated, and displayed in the macro interruption dialog, if during the evaluation of a macro token, the RaiseError function is called.
➢This is not an application error; it is an error generated because the person who wrote the macro decided that if macro execution reached a certain point, then an error should be generated.
If the bAbortScript parameter of the call to the RaiseError function is true, the current function aborts the current script and displays a modal message with the context of the error and the current diary generation aborts.

If the bAbortScript parameter of the call to the RaiseError function is false, the current function stops the current macro and adds a run-time message to the diary generation messages window, but diary generation continues.

In all cases, a call to the RaiseError function aborts the current macro's execution.
See also: LogMessage, Assert and RaiseError.
Topic 174295, last updated on 17-Oct-2026