3.1.4. Microsoft.Vbe.Interop.dll和office.dll

Microsoft.Vbe.Interop.dll和office.dll,与Microsoft.Office.Interop.Excel.dll,一起,都是属于“Microsoft Office system 的可用程序集”

所以,最好也是要在集成,Microsoft.Office.Interop.Excel.dll,时,连带的一起把:Microsoft.Vbe.Interop.dll和office.dll都集成进来。

这样,才可以避免,别人在使用exe时,内部用到excel的dll时,完整的所需要的函数,都可以自带的找到了。

不会再对于Microsoft.Vbe.Interop.dll或office.dll报错说找不到。

详见:【已解决】Microsoft.Vbe.Interop.dll和office.dll是啥