Error:The type or namespace name 'Office' does not exist in the namespace 'Microsoft' 解决方法

在vs里面:

Website->AddReference->.NET->Microsoft.Office.Interop.Excel.

设置之后即可。

posted @ 2020-04-13 12:55  天涯海角路  阅读(1369)  评论(0)    收藏  举报