batch_add_field_VBA
- by Elaine Kuo
I am unsure where goes wrong.
Please kindly help and thanks.
Public Sub AddField()
Dim pApp As esriCatalogUI.IGxApplication
Set pApp = esriArcCatalog.Application
Dim pGxSelection As esriCatalog.IGxSelection
Set pGxSelection = pApp.Selection
Dim plist As esriCatalog.IEnumGxObject
Set plist = pGxSelection.SelectedObjects
Dim pGxObject As…