IE7 / XP和IE8 / Win7之间的代码更改 [英] Code Changes between IE7/XP and IE8/Win7
问题描述
我有一些VBA代码用于检查基于Web的文档存储系统的性能。这在使用Office 2003的IE7 / XP环境中工作正常。当我尝试在仍使用Office 2003的基于IE8 / Win7的计算机上运行相同的代码时,我得到
以下错误消息:'运行时错误-2147467259(80004005)自动化错误未指定错误’两个安装都具有相同的引用和加载项。它反对的具体代码是:
I have some VBA code that is used to check the performance of a web based document starage system. This works fine in an IE7/XP environment using Office 2003. When I try to run the same code on a machine based on IE8/Win7 still using Office 2003 I get the following error message: 'Run-time error -2147467259 (80004005) Automation error Unspecified error’ Both installation have the same references and add-ins. The specific code it objects to is:
While ie.BUSY
DoEvents
Wend
此代码使代码执行等到页面加载完毕。
< span style ="font-size:10pt; font-family:Arial">有关错误以及如何修复的建议吗?
< span style ="font-size:x-small; font-family:Arial"> 问候,
杰夫
推荐答案
Hel lo Jeff,
Hello Jeff,
请看一下这个帖子:
http://www.dbforums.com/microsoft-access/995667-run-time-error-2147467259-automation- error.html
表示应添加Office Library。你做过这个吗?
which says that the Office Library should be added. Have you done this?
祝福,
这篇关于IE7 / XP和IE8 / Win7之间的代码更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!