Provides access to members that modify the VBA projects in this application.
Product Availability
Available with ArcGIS Desktop.
When To Use
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.
Members
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. |
CoClasses that implement IVbaApplication
CoClasses and Classes | Description |
---|---|
Application (esriArcCatalog) | ESRI ArcCatalog Application. |
Application (esriArcGlobe) | ESRI ArcGlobe Application. |
Application (esriArcMap) | ESRI ArcMap Application |
Application (esriArcScene) | The 3D Modeling Application. |
Remarks
The Application object implements the IVbaApplication interface.