Search here for all the info you want in this Blog

Err object

x = 10
y = 0

OnerrorResumeNext
z = x/y

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

No comments:

Post a Comment