KB-32715: Script error message not displayed.

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

  ‘…

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.

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Leave a Reply

Your email address will not be published.Required fields are marked *