如何在C#中创建excel插件并在excel中使用 [英] How to create excel addin in C# and use in excel
本文介绍了如何在C#中创建excel插件并在excel中使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
任何人都可以建议如何使用Visual Studio C#创建一个简单的插件并在excel中使用它。我们的想法是在Excel上使用C#开发的函数。
请帮助。
谢谢。
Hi
Can anyone suggest how to create a simple addin using Visual Studio C# and use it in excel. The idea is to use the functions developed in C# on excel.
Kindly help.
Thanks.
推荐答案
参见https://www.google.com/search?q=excel+addins+c%23 [ ^ ]。
你应该,我想,需要阅读文档或手册来了解如何为Excel创建加载项。这是一个 MSDN文档 [ ^ ]教你如何创建一个加载项。
方法是,创建一个Simple项目,然后在Visual C#下查找Office,展开它。查找Office加载项并选择Excel加载项。 Visual Studio将为您创建一个项目,并将打开为您编辑生成的源文件。
您也可以从MSDN学习Excel API,继续阅读该文档以获得成功。
You should, I guess, need to read a documentation or a manual to learn how to create an Add-in for the Excel. This is an MSDN documentation[^] which teaches you how to create an Add-in.
Methodology is, to create a Simple project, and right under the Visual C# look for a Office, expand it. Look for Office Add-ins and select the Excel Add-in. Visual Studio would create a project for you, and will open the source file generated for you to edit.
You can learn the Excel API from MSDN too, continue reading that document to succeed.
这篇关于如何在C#中创建excel插件并在excel中使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文