Hi,
I'm trying to find VBA code that will tell me the name of the current macro that is running.
Example: Sub MyMacroName()
Dim MacroName As String
MacroName = HowDoIGetMyMacroName
MsgBox MacroName
End Example:
Does anyone know if code exists to do this?
I'm trying to find VBA code that will tell me the name of the current macro that is running.
Example: Sub MyMacroName()
Dim MacroName As String
MacroName = HowDoIGetMyMacroName
MsgBox MacroName
End Example:
Does anyone know if code exists to do this?