我使用的是office2010,win7。 原因:C:\Program Files\Common Files\Microsoft Shared\VBA\VBA7 中缺少vbe6ext.olb解决方案:C:\Program Files(x86)\Common Files\Microsoft Shared\VBA\VBA6 中复制vbe6ext.olb 到C:\Program Files\Common Files\Microsoft Shared\VBA\VBA7 转载于:https://www.cnblogs.com/youyouzaLearn/p/5083431.html