我在哪里可以找到“microsoft.office.interop.excel”。在Assembly / COM浏览器窗口中? [英] Where can I find "microsoft.office.interop.excel" in the Assembly / COM browser window?

查看:214
本文介绍了我在哪里可以找到“microsoft.office.interop.excel”。在Assembly / COM浏览器窗口中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将参考 microsoft.office.interop.excel 添加到我的项目中。

I wanted to add the reference microsoft.office.interop.excel to my project.

我去了Project> Properties> References>并点击 Add ... 按钮。

I went to Project > Properties > References > and clicked the Add... button.

参考管理器对话框中,我有以下选项:

In the Reference Manager dialog, I have the following options:


  • 装配

  • 框架

  • 项目文件夹

  • COM

  • 搜索

  • Assemblies
  • Frameworks
  • Project folder
  • COM
  • Search

有一个搜索窗口。我输入了 microsoft.office.interop.excel ,但它找不到。

There is a search window. I typed microsoft.office.interop.excel, but it is just not found.

我不得不浏览它可以在我的驱动器上手动定位。

I had to browse for it to locate it manually on my drive.

为什么?

推荐答案

项目菜单> 添加参考
在COM选项卡上,找到 Microsoft Excel 15.0对象库

这是包含<$的参考c $ c> Microsoft.Office.Interop.Excel.dll

如果系统提示您为所选库生成包装器,请单击

If you are prompted to generate wrappers for the libraries that you selected, click Yes.

这篇关于我在哪里可以找到“microsoft.office.interop.excel”。在Assembly / COM浏览器窗口中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆