Is This Content Helpful?
We're glad to know this article was helpful.
A "VBA initialization failed" error occurs when launching ArcGIS for Desktop 10.1 or 10.2 (ArcMap or ArcCatalog). This issue persists even after uninstalling and reinstalling the VBA Compatibility runtime files.
Support for VBA (Visual Basic for Applications) has been deprecated in ArcGIS for Desktop 10.1, however users are still able to run existing VBA applications by installing the VBA Compatibility setup program. This installs only the necessary VBA runtime files required without the developer tools. Existing VBA applications may fail due to the following reasons:
• Incorrect VBA Compatibility version installed.
The VBA Compatibility setup from 10.2.1 is compatible with ArcGIS for Desktop 10.2.2
Warning: The given instructions include making changes to essential parts of your operating system. It is recommended that you backup your operating system and files, including the registry, before proceeding. Consult with a qualified computer systems professional, if necessary.
Esri cannot guarantee results from incorrect modifications while following these instructions. Therefore, use caution and proceed at your own risk.
Administrative rights are required.
If the PreloadVBA has a value of '0', VBA is not loaded (disabled) when ArcMap starts. If the PreloadVBA has a value of '1', VBA is loaded (enabled) when ArcMap starts.