Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/vba/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
MS Excel-VBA自动化错误。_Vba_Excel_Automation_Runtime Error - Fatal编程技术网

MS Excel-VBA自动化错误。

MS Excel-VBA自动化错误。,vba,excel,automation,runtime-error,Vba,Excel,Automation,Runtime Error,我有一套MS Excel记分卡计算器,可以发送给200多个客户。在所有客户端环境中,计算器都能100%工作。但是,一个客户端遇到以下问题 电子表格会定期收到Microsoft Visual Basic运行时错误。确切的信息是: Microsoft Visual Basic Run-time error '-2147417848(80010108)': Automation error. 正如我提到的,这只发生在一个客户站点上。在其他任何地方,电子表格都能100%运行 谁能解释一下为什么

我有一套MS Excel记分卡计算器,可以发送给200多个客户。在所有客户端环境中,计算器都能100%工作。但是,一个客户端遇到以下问题

电子表格会定期收到Microsoft Visual Basic运行时错误。确切的信息是:

Microsoft Visual Basic  
Run-time error '-2147417848(80010108)':  
Automation error.
正如我提到的,这只发生在一个客户站点上。在其他任何地方,电子表格都能100%运行


谁能解释一下为什么在200多个地点中有一个发生这种情况。

有可能提供一些诊断

  • 在用户系统中搜索任何*.exd文件。它们可能位于隐藏文件夹中
  • 删除找到的任何*.exd文件。它们是临时文件,将通过Excel重新生成

  • 请尝试再次运行该文件。很抱歉,我无法提供更详细的帮助,但这是根据提供的信息开始的。

    根据提供的信息无法诊断。您需要在代码中隔离错误的位置。