By using expertatexcel.com you agree to our cookie policy, We and our partners operate globally and use cookies, for multiple purposes

Become an Σxpert at Σxcel.com

 


Error(x) ' displays error message

if x contains the value of an error "err" it will display the error message.

Try the following code:

Sub DisplayErrors()
   for i = 1 to 100
       debug.Print i, Error(i)
   nex
End Sub