Search here for all the info you want in this Blog

Err object

x = 10
y = 0

On error Resume Next
z = x/y

If Err.Number = 0 Then
MsgBox z
Else
MsgBox Err.Description
MsgBox Err.Number
End If

No comments:

Post a Comment