Question:
How can I set up the script error messages to not be displayed on screen?
Solution:
To do so, use On Error Resume Next command at the beginning of the script.
Example:
Sub CommandButton6_Click()
On Error Resume Next
‘…
On Error Resume Next
‘…
However, we should stress out that this does not fix the error – it will continue to occur, but the warning window will be hidden. Thus E3 allows executing the whole script even when there is an error.