1
vote
3answers
2k views

Calculate XY Coordinate with “CalculateField” tool

I used model builder to build a model which can calculate the XY coordinates and it's perfect! However, when I export it to VBscript and run it in VBA it crashes.... The error happens at ...