Macro Location

G

Gilgamesh

Hello,
I have a VBA macro and when it runs I would like to find out the file name
that the macro resides in.
I can't use ActiveProject as the file may not be the active one at the time.
I can hardcode a name in there but as my versions increase I may forget to
update the version number in the code.

Thanks
 
Top