-1

I want to build an excel add-in which is application level. I followed the instructions to create a project on MSDN.

I don't want to create a COM add-in, I want an Excel plugin. The plugin we create as .xlam file and code it in VBA.

Please suggest me what to do. How to deploy the .vsto file and patch up with the .xlam file?

Patrick Hofman
  • 153,850
  • 22
  • 249
  • 325
  • 2
    _"and it shows me it as a COM add-in...I don't want to create a COM add-in i want Excel plugin"_ - sorry to pop your balloon but add-ins created via VSTO _are_ COM add-ins as far as Excel is concerned. –  Jan 04 '17 at 15:06

1 Answers1

2

A VSTO Office add-in is a COM add-in by definition. That is how Microsoft implemented it. They have built a bridge from .NET to the native Microsoft Office code using COM.

If you want an XLAM add-in, as you say, you need to go through this reference, which doesn't involve creating a Visual Studio VSTO project.

Patrick Hofman
  • 153,850
  • 22
  • 249
  • 325
  • Is there any way to make the excel add-in in c# not in VBA?, because i already have vba excel add-in. – Keyur Patel Jan 05 '17 at 05:39
  • Well, yes. Create the add-in as you did from Visual Studio and code from there. There are some pretty good tutorials that helped me out. Just search Google on *VSTO C#* and you will find plenty of them (primarily the MSDN resources are useful). – Patrick Hofman Jan 05 '17 at 12:09