Problem: Macro in base template doesn't execute
Open a new ArcMap document based on a custom template. Click on a MacroItem to run a Macro named "Test", and the following error is raised: "Macro not found: Project.ThisDocument.Test".
The scope of the macro has changed because you saved the file as a different type.
Solution or Workaround
From the ArcMap Tools Menu, navigate to Customize and select the Macros category. Drag and drop your MacroItem onto the toolbar.