PROBLEM
In ArcMap, trying to run a VBA procedure using Tools > Macros > Macros, but the procedure does not appear in the list.
Procedures defined as private can not be run as macros.
Define the procedure as Public.
Code:
Public Sub TestMacro()
MsgBox "This Macro Runs from the dialog"
End Sub
Article ID:000003912
Get help from ArcGIS experts
Download the Esri Support App