0

I'm betting this is obvious, but for CUSTOMER debugging purposes, I need to know the name of the routine causing the error.

I'm sure there's a way to do this -

Private Sub DoSomething (s as String)

Try

some bad code here

Catch

msgbox ("The error is in routine - " & the method or sub) End Try

End Sub

Note - I am NOT looking for a #DEBUG directive...this is for release code

Thanks.

ByteCarp
  • 41
  • 6

0 Answers0