Show or hide warning messages by using a macro
Show or hide warning messages by using a macro
Open an existing macro in the Macro window .
How ?
In the place in the macro where you want to stop or resume the display of modal warning messages, add the SetWarnings action.
How ?
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 .
Click Save to save the macro.
Run the macro.
How ?
When the macro stops running, the display of warning messages automatically resumes.
Send feedback to MSDN.Look here for MSDN Online resources.