I have a script I'm running which will search Excel for specific data. If it can't find that data (which is a valid option) the script presents an error to the users. I know where the errors are caused, but not how to stop them.
Since I am working with users who are likely to "freak out" (for lack of a better word) when this error appears, I want to know if there's anyway to disable the errors from appearing at all and then I can work on creating custom error messages myself.
I have already tried an "OnEvent" to close the error messages as they appear, but I am guessing that since the messages are modal, it prevents the script from activating this command until the error is dismissed... and then it's too late anyway.
The error messages encountered when someone searches for content which does not exist are the below:

Thanks

Dominic Fichera