Show or hide warning messages by using a macro

Show or hide warning messages by using a macro

  1. Open an existing macro in the Macro window.

    How?

  2. In the place in the macro where you want to stop or resume the display of modal warning messages, add the SetWarnings action.

    How?

  3. To temporarily stop the display of warning messages, set the Warnings On argument to No. To resume displaying them, set the Warnings On argument to Yes.

  4. Click Save to save the macro.

  5. Run the macro.

    How?

When the macro stops running, the display of warning messages automatically resumes.