Customer Service | Training | Contact Us
Welcome!
Login
Search Options   products areas display

Which products should be considered?

All Products

ArcCAD
ArcEditor
ArcExplorer
ArcGIS Engine
ArcGIS Explorer
ArcGIS Image Server
ArcGIS Mobile
ArcGIS Server
ArcIMS
ArcInfo Desktop
ArcInfo Workstation
ArcLogistics Route
ArcPad
ArcPad Application Builder
ArcReader
ArcSDE
ArcView
ArcView 3.x
ArcWeb Services APIs
ArcWeb Toolbar for ArcGIS
Atlas GIS
BusinessMap
BusinessMap Pro
GIS Portal Toolkit
Job Tracking for ArcGIS
Maplex
MapObjects -- Java
MapObjects -- Windows
MapObjects IMS
MapObjects LT
MapStudio
Military Overlay Editor
NetEngine
PC ARC/INFO & DAK
PLTS
RouteMap
RouteMap IMS
SDE
Tracking Server

    Remember these settings for each visit More info
You are here:

Technical Article   Problem:  ArcMap Visual Basic Editor macro is disabled

Article ID: 17844
Bug Id: N/A
Software:  ArcGIS - ArcEditor 8.1, 8.1.2, 8.2, 8.3, 9.3, 9.3.1 ArcGIS - ArcInfo 8.1, 8.1.2, 8.2, 8.3, 9.3 ArcGIS - ArcView 8.1, 8.1.2, 8.2, 8.3, 9.3
Platforms:  Windows NT 4.0, 2000, XP, 2003Server, Vista

Description

Visual Basic Editor cannot be started from ArcMap. When using the Customize, Commands, and UIControls option, ArcMap crashes or the Visual Basic Editor option is grayed out.

Cause

An incomplete or incorrect version of Visual Basic for Applications (VBA) is installed.

Solution or Workaround

- At 8.x VBA can be installed by running the ArcMap_vba.msi under the \Support\Vba6 folder found on the install CD.

- At 9.3 and 9.3.1, VBA can be installed by running the VBAOF11.msi and VBAOF11I.msi under the VBA and 1033 folders found on the install CD.

If installing the VBA from the installation media does not seem to correct this issue, it is recommended that a repair is run on the ArcGIS Desktop install.

To run a repair:
Navigate to Start > Settings > Control Panel > Add or Remove Programs. Select ArcGIS Desktop and click the Change button. When prompted, select the Repair option.



Created: 4/9/2001
Last Modified: 8/25/2009

This website's graphical display is now viewable only with W3C standards-compliant browsers, but the content is accessible to all browsers and Internet devices. View our supported browser matrix for more information on our website display.