HOW TO

Export code modules from VBA

Last Published: April 25, 2020

Summary

You can use the Visual Basic for Applications (VBA) editor to write VBA code that you can execute from within ArcMap or ArcCatalog. This code is stored inside the Normal.mxt file (for ArcMap) or the Normal.gxt file (for ArcCatalog). You can export your code to Visual Basic modules, which you can import into other Visual Basic or VBA projects.

Procedure



  1. In the Project window in the VBA editor, click the module you want to export.
  2. Click File, then click Export File.
    [O-Image] Export VBA module
  3. Navigate to the folder where you want to store the Visual Basic Module and click Save.

Article ID:000003473

Software:
  • ArcMap 8 x

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic