G
Guest
i have an error trapper that goes something like this:
private sub MySub()
on error goto Err_MySub
some code here
exit sub
Err_MySub:
msgbox err.number & ": " & err.description
resume next
end sub
does anyone know if there is a way to show in the msgbox what line of code
generated the error? or is there a way to get the line number of "Next" in
"resume next"?
private sub MySub()
on error goto Err_MySub
some code here
exit sub
Err_MySub:
msgbox err.number & ": " & err.description
resume next
end sub
does anyone know if there is a way to show in the msgbox what line of code
generated the error? or is there a way to get the line number of "Next" in
"resume next"?