The feature itself is designed to over-run all of the vb errors encountered during runtime. However, it is not a hole in the net. The feature Err.number and Err.Description add value for you to capture them during runtime. If you want to disable On Error Resume Next use the On Error Got to 0.
Code:
On error Resume next
oStr= "My test"
oLen = Lenghthy(oStr)
msgbox Err.Description
On Error Goto 0
oLen = Lenghthy(oStr)
msgbox Err.Description
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.