XLL Excel加载项的基础-需要从Excel调用C#API [英] Basic of XLL Excel Addin - Need to invoke a C# API from Excel
问题描述
我对创建excel插件非常陌生.
I am quite new to creating excel addins.
我以前曾为.NET库创建tlb.我曾经使.NET类成为COMVISIBLE,并创建了一个Com可调用包装器,并注册为tlb以从Excel中调用(使用regasm).
Earlier I used to create a tlb for .NET libraries. I used to make my .NET class COMVISIBLE and create a Com callable wrapper and register as a tlb to call from Excel (using regasm).
我现在有一个用C#编写的数学库.知道有一种叫做XLL和UDF的东西,可以用来从DLL调用API.几乎对XLA,XLL和UDF感到困惑.不知道该怎么做才能调用我的API.
I now have a math library written in C#. Got to know there is something called XLL and UDFs which I can use to invoke API's from the DLL. Little confused about XLA, XLL and UDFs. Not sure what should I do to call my API's.
不确定从哪里开始.任何帮助都会有所帮助.
Not sure where to get started. Any help would be helpful.
谢谢 玛尼
推荐答案
这篇关于XLL Excel加载项的基础-需要从Excel调用C#API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!