Option explicit
On error resume next
val1 = 10
print "Value : "&val1
'err.clear
print "Error Number : "&err.number
print "Error Description : "&err.description
On error goto 0
msgbox val1
On error resume next
val1 = 10
print "Value : "&val1
'err.clear
print "Error Number : "&err.number
print "Error Description : "&err.description
On error goto 0
msgbox val1
No comments:
Post a Comment