Excel .NET COM - Automation error. The system cannot find the file specified

前端 未结 5 822
名媛妹妹
名媛妹妹 2021-02-12 11:43

I have a .NET 2.0 COM object that\'s used by VBA in Excel. It works fine on my dev machine, but when trying to use it on a clean VM workstation I get this error:

Automat

5条回答
  •  梦如初夏
    2021-02-12 12:22

    I also receive a automation error. My reference (in MS Access) was to a TLB file. The corresponding DLL file was missing from the folder that held the TLB file and this caused the 'automation error' message to appear. Adding the DLL back in fixed.

提交回复
热议问题