look at help on erl - however you have to have explicit line numbers written
into your code (the old Basic way).
Other than that, you will have to code it yourself.
--
Regards,
Tom Ogilvy
"x taol" wrote in message
...
i wanna know error line and module name when outbreak of error in any
module.
Sub test()
On Error GoTo erohandle:
~~~~~
~~~~~
Exit Sub
erohandle:
MsgBox "the current module name is " & xxxx & vbCrLf & "the line number
is " & yyyyy
End Sub
*** Sent via Developersdex http://www.developersdex.com ***