Try using the "err" object. If you know the error number that you want to change the message for, the simplest way of changing the message would be something like (assuming the error number is 68):
select case err.number
case 68
msgbox "You have created an error. It is because: " & err.description
end select
The err.number will return the actual error number, while err.description returns a string description of the error. Hope this helps.
"The night sky over the planet Krikkit is the least interesting sight in the entire universe."
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.