Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an ArcGIS .mxd file with an imbedded VBA script that is executed from a tool bar button. I would like to convert this VBA script tool to a python script tool for use in ArcGIS 10. Is that possible?

share|improve this question
Do you mean automatically convert it? You should be able to manually translate the script without too much difficulty - assuming you know some python. – Radar Jun 17 '11 at 19:51

Yes, with the caveat that it will live in the application and not the MXD. If you create a Geoprocessing script tool in Python with zero parameters, you can add it to any toolbar from the Customize menu and it will execute when you click it. If it has 1 or more parameters, it will bring up the GP tool dialog.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.