This document is archived and information here might be outdated. Recommended version. |
Provides access to members that modify the VBA projects in this application.
The IVbaApplication interface allows you to programmatically insert, remove, and run VBA code without actually opening the Visual Basic Editor. This interface has methods to create a new module, insert code into a specific module, remove a module, and run and macro.
Name | Description | |
---|---|---|
CreateCodeModule | Creates a code module in the specified VBA project. | |
InsertCode | Inserts code into the specified module. | |
RemoveCodeModule | Removes a code module from the specified VBA project. | |
RunVBAMacro | Runs the specified VBA macro. |
Classes | Description |
---|---|
Application (esriArcCatalog) | Esri ArcCatalog Application. |
Application (esriArcGlobe) | Esri ArcGlobe Application. |
Application (esriArcMap) | Esri ArcMap Application |
Application (esriArcScene) | The 3D Modeling Application. |
The Application object implements the IVbaApplication interface.