English

Problem: Macro in base template doesn't execute

Description

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".

Cause

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.

Last Published: 5/5/2016

Article ID: 000003049

Software: ArcGIS-ArcEditor 8.1 ArcGIS-ArcInfo 8.1 ArcGIS-ArcView 8.1