Frequently asked question

Is it possible to use VBA Script Code for the Calculate Field tool in ArcToolbox?

Last Published: April 25, 2020

Answer

It is not possible to use VBA Script Code for the Calculate Field tool prior to 9.2. This has not been implemented into the tool. When VBA Script Code is necessary, the Field Calculator, by way of right-clicking on the field heading in the Attribute Table > Calculate Values, must be used.

When right-clicking on the field heading in the Attribute Table > Calculate Values, there is an Advanced checkbox that allows the use of VBA Script Code; however, no such checkbox is available for the Calculate Field tool in ArcToolbox > Data Management Tools.

Article ID:000008607

Software:
  • ArcMap 9 x

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic