I was just curious, is there a function which detects errors, meaning, lets say i have a regular runtime error, can i create a MsgBox that will bypass the usual error box. Becuase lets say i am certain i know what would cause an error in a certain part of the code, I just to be able to have a msgbox sayin, "woops your error was caused because of such and such" and then have the program end there, or does VBA have to put such an error box out there to see, i just dont want any error messages to pop up, thanks!