Hi Guys,

Is there any way to see on what linenumber your program got an error ?

For example :

Private Sub Form_Load()
On Error GoTo errorhandler


Msgbox Error"

Exit Sub

errorhandler:
---> i can show the linenumber where it crashed here (line 5)
end sub

Thnx