How To: Create a new UIButtonControl


Support for Visual Basic for Applications (VBA) for ArcMap and ArcCatalog ended with the ArcGIS 10.2.2 release, and Esri has not included VBA compatibility setups since version 10.5. See: ArcGIS Desktop and VBA Moving Forward

Instructions provided describe the steps to create a new UIButtonControl in ArcMap.


  1. Select Tools > Customize to open the Customize dialog box.
  2. Click the Commands tab.
  3. Select UIControls from the Categories list box.
  4. Select Untitled from the Save In dropdown list to save the button to this map document. Select Normal to save the button to all ArcMap documents on the machine.
  5. Click New UIControl.
  6. Select UIButtonControl and Create.
  7. Drag the new UIButtonControl to the toolbar of choice.
  8. Close the Customize dialog box.

Related Information