To re-enable VBA in the registry: Navigate to HKEY_LOCAL_MACHINE/SOFTWARE/ESRI/ArcMap/Settings, double-click the PreloadVBA variable and set the value data to 0 from 1.
追问在哪里找HKEY_LOCAL_MACHINE/SOFTWARE/ESRI/ArcMap/Settings?
参考资料:http://blog.csdn.net/ychh_hjr/article/details/6225560