3

I have experienced problems with saving VBA customization to a Normal.mxt document within ArcGIS 10.

I have a set of VBA macros developed originally within 9.3 version of ArcGIS that reside in a custom toolbar. These VBA forms, modules and customization have been saved within the Normal.mxt in ArcGIS version 9.3 and open and work fine while opening this Normal.mxt in ArcGIS 10.

Recently I developed an additional VBA macro (within ArcGIS 10) which works and adds fine to the customized toolbar, however I am unable to save customization permanently to this Normal.mxt in ArcGIS 10. Please note that Customize>Options "Save all customizations to the document" button is unchecked.

Despite saving changes to this Normal.mxt in Visual Basic Editor with a new macro/tool added to the customized toolbar, after closing and opening ArcGIS 10 again newly added macro/tool disappears from the customized toolbar.

However, the new tool is never saved permanently within the Normal.mxt. It appears that ArcGIS 10 has some issues with VBA customisations.

What could be the cause of it and how could it be resolved?

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Nov 15, 2012 at 17:03

1 Answer 1

3

With ArcGIS 10.0, VBA is no longer officially supported. You can request a VBA license for 10.0 and 10.1, but ESRI is strongly pushing people to Arcpy and C#. Older documents will still function for backwards compatibility, but if you want to create new VBA, you'll need to get a VBA license from ESRI and install an extension.

See ESRI's blog post about it here: http://blogs.esri.com/esri/arcgis/2011/01/11/vba-licensing-at-arcgis-10

answered Nov 15, 2012 at 21:02
0

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.