
Determining a function's name at runtime
How can I determine a function's name at runtime?
E.g.
Sub myFunction()
On Error Goto ErrHandler
Dim i as integer
i = "error!"
Exit Sub
ErrHandler:
MsgBox "Error in:" & [?????]
End Sub
I don't know if this is possible but thought I'd ask anyway.
Thanks!
David
Sent via Deja.com http://www.*-*-*.com/
Before you buy.