是否可以使用C#Visual Studio代码Excel加载项(如Solver Add-in等)? [英] Is it possible that code Excel Add-in (like Solver Add-in etc) with C# Visual Studio?

查看:270
本文介绍了是否可以使用C#Visual Studio代码Excel加载项(如Solver Add-in等)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!



我需要你的帮助。我想用C#Visual Studio 2012编写一个excel插件。(我不知道VB)。



我的目的是以硬折扣估算主要需求市场增加利润,避免积压等。如果你要求,我可以上传我的伪代码,但这不是我的问题。



我应该编码像解算器加载项这样的程序,我的意思是我必须创建一个像Solver加载项这样的用户界面表单来选择区域并开始计算。这是我的挑战,我不知道如何使用c#.NET将一个windos表单/ userform添加到excel加载项中,并通过它运行alghorithm。



我需要你的帮助,

感谢您的关注。

Hi everyone!

I need your help. I want to code an excel add in with C# Visual Studio 2012. (I don''t know VB).

My purpose is estimating primary Demand in an hard discount Market to increase the profit and avoid the backlogging etc. If you asked for, I can upload my pseudo code but this isn''t my question.

I should code the program like solver add-in, I mean I have to create a user interface form like Solver add-in to select area and start the computition. This is my challenge, I don''t know how to add a windos form/userform what ever you say into excel add-in with c# .NET, and run alghorithm via it.

I need your help,
Thanks for your interest.

推荐答案

当然。这通常在.NET中完成。请从这里开始: http://msdn.microsoft.com/en-us/vstudio/vextend.aspx [ ^ ]。



-SA
Of course. This is normally done in .NET. Please start here: http://msdn.microsoft.com/en-us/vstudio/vextend.aspx[^].

—SA


您想在Excel中实现功能区并在那里访问您的功能,操作一些excel表,等等?

如果是,请使用 VSTO [ ^ ] - 视觉Office工作室工具。

干杯

Andi
You want to implement a ribbon in Excel and have your functionality accessible there, manipulate some excel sheet by that, etc.?
If "yes", use VSTO[^] - Visual Studio Tools for Office.
Cheers
Andi


这篇关于是否可以使用C#Visual Studio代码Excel加载项(如Solver Add-in等)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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