码迷,mamicode.com
首页 > 其他好文 > 详细

Assembly 'Microsoft.Office.Interop.Excel

时间:2014-09-16 23:41:51      阅读:359      评论:0      收藏:0      [点我收藏+]

标签:style   color   io   os   for   sp   问题   on   c   

编译的时候报错,都无法通过编译:

Assembly ‘Microsoft.Office.Interop.Excel, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c‘ uses ‘Microsoft.Vbe.Interop, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c‘ which has a higher version than referenced assembly ‘Microsoft.Vbe.Interop, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c‘ g:\Program Files\Microsoft Visual Studio 10.0\Visual Studio Tools for Office\PIA\Office14\Microsoft.Office.Interop.Excel.dll

目前为止,我碰到的就是Office版本不对应的问题.

version 12 对应的是 Office 2007

version 11 对应的是 Office 2003

Assembly 'Microsoft.Office.Interop.Excel

标签:style   color   io   os   for   sp   问题   on   c   

原文地址:http://www.cnblogs.com/listened/p/3976062.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!