Hi Folks,
Is there a way to capture the active macro's name as a variable? I am trying to create an error log which declares what macro has an error.
Thanks for the help,
Mike
Is there a way to capture the active macro's name as a variable? I am trying to create an error log which declares what macro has an error.
Code:
sub test_code()
some code
on error
[indent]goto error_capture[/indent]
error_capture:
'capture macro name
variable = test_code
end sub
Thanks for the help,
Mike