Tiovital, VB automatically select the line in which the error occured, as Michelle said.
And Megatron's way should tell you what error it was that occurred. If you want to know the number of the error the occured, than use Err.Number.
[Edited by Matthew Gates on 08-08-2000 at 01:55 AM]Code:On Error GoTo ErrorHandler Error 6 Exit Sub ErrorHandler: MsgBox "Error " & Err.Number & Chr(58) & Chr(32) & Err.Description




Reply With Quote