I've written several very helpful excel add-ins using VBA. I'm using Excel for Mac 2011 Version 14.2.2 (120421). I'd like to sell the add-ins via a web site. Can I write the add-ins in Xcode or do I have to use C#?
From Microsoft Support:
In Office 2011 for Mac, there is no concept of add-ins. So using Excel Add-In is not possible...
You'll need to use VBA or AppleScript to emulate the same behavior.
Related
I need a help to understand VSTO addin vs the .xll excel addin .
what is the difference between both addins?
Is there any possibility to convert VSTO excel addin into a .xll file to directly attach in an excel worksheet?
XLL Add-ins
XLL add-ins are the older native-code add-ins created via the Excel Software Development Kit. These add-ins are written in c/c++ and make use of COM interop.
VSTO Add-ins
Visual Studio Tools for Office (VSTO) add-ins are the contemporary method to create Excel add-ins via managed code such as C#. Microsoft provides a managed API instead of raw COM to access Office products including Excel.
OP:
Is there any possibility to convert VSTO excel addin into a .xll file to directly attach in an excel worksheet?
Yes and no. You would need to re-write the add-in not just to use c/c++ instead of .NET but also to use the COM API instead of the VSTO managed libraries. Sadly there is no easy way to do this.
i've created an word 2010 Add-in with the VS 2012 word Add-in template and ribbon designer component.
It is possible to use this plugin in other office products, like Excel or Outlook if I add the other interop dlls?
How can I differ which office product (word, excel or outlook) actually is used to run differnt code segments in the add-in?
Or must I create for each an own plugin with own ribbon!?
Please give me some hints.
Regards
If you link statically to the Office Interop assemblies, then you will need to build a different version for each Office version you plan to support. A much better alternative I would recommend you investigate is to use NetOffice, which provides the Office API in a version-independent form:
http://netoffice.codeplex.com/
I have a Office Addin which works well in MS Office 2007. Can I port this Addin to Mac? Is this possible?
Sorry, the VSTO framework used to develop Office Add-ins is for Windows only :-(
Take a look at Microsofts system requirements for the VSTO framework: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=20479
How do I develop addin for MS Outlook that works with all
1. Outlook 2010
2. Outlook 2007
3. Outlook 2003
I have developed addin that works well with 2010 and 2007 BUT NOT with 2003.
I want something like this that works well with all the above three :)
You need VSTO (Visual Studio Tools for Office). Here is an article to get you started.
You can also check out Office Development Center.
You need to go for NetOffice.
It will allow you to abstract out from Outlook version.
Also it has a powerful diagnostic tool that will tell you which version of outlook your add-in is compatible with based on API features you use in your code.
Worked nicely for me.
http://netoffice.codeplex.com/
HI All,
I want to export the excel file using c# and in excel it should have a ribbon (button in excel) called as refresh which will get the latest data from server.
Please let me know how to go forward..
You should have a look at VSTO. Visual Studio Tools for Office allows you to customize Office applications, using .Net. For Excel, you can customize specific documents or write add-ins, working from Visual Studio, in VB.Net or C#.