G
Guest
The following shows me the last line number executed. It requires an error.
7811: Try
Err.Raise(60000)
Catch ex As Exception
MsgBox("Error 60000 at " & Err.Erl())
End Try
Is there a way to show a line number without creating an error. For
example, I am looking for a function that would return the following message:
"You just executed a statement at line #7811"
7811: If X = 2 Then
MsgBox "You just executed a statement at #" & ????
End IF
I can't find this function or figure out how to write it. Is there a way to
do this?
7811: Try
Err.Raise(60000)
Catch ex As Exception
MsgBox("Error 60000 at " & Err.Erl())
End Try
Is there a way to show a line number without creating an error. For
example, I am looking for a function that would return the following message:
"You just executed a statement at line #7811"
7811: If X = 2 Then
MsgBox "You just executed a statement at #" & ????
End IF
I can't find this function or figure out how to write it. Is there a way to
do this?