C
CyberDwarf
Hi,
Here's a weird one!
Is there a known way to determine the name of the currently running Sub or
Function in VBA code?
I'm trying to build a generic error-trapping funtion, to avoid writing
hundreds of
ON ERROR GOTO
blocks, with different parameter values.
I've been looking at ways to use the Windows API with AddressOf, etc, but I
can't see how I can get this to work...
Any hints and suggestions welcomed
TIA
Steve
Here's a weird one!
Is there a known way to determine the name of the currently running Sub or
Function in VBA code?
I'm trying to build a generic error-trapping funtion, to avoid writing
hundreds of
ON ERROR GOTO
blocks, with different parameter values.
I've been looking at ways to use the Windows API with AddressOf, etc, but I
can't see how I can get this to work...
Any hints and suggestions welcomed
TIA
Steve