Click here to Skip to main content
15,886,689 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I'm looking for a Visual Studio C# excel addin example which is executed with a menu item selection.

What I have tried:

I've searched Google, Microsoft documents, and Code Project articles.
Posted
Updated 10-Oct-18 16:59pm
Comments
Patrice T 10-Oct-18 21:14pm    
You can't have searched and got nothing, it is impossible.
You need to work your Google-Fu.

1 solution

The first result in searching exactly what you described is a tutorial that details what you are looking for.

Walkthrough: Create your first VSTO Add-in for Excel - Visual Studio | Microsoft Docs[^]

c - Google Search[^]

C# Excel addin examples - create plug-in for Excel 2016, 2013, 2010, 2007[^]

So the likelihood of google not having any results on how to create a c# plugin for excel is low (as you can see). Now if you've actually tried something and are having issues that is a different story. You'll need to either edit your answer (or post a new one) clearly detailing your issue, explanation of the error your seeing (or lack of desired behavior), and relevant samples of your code so we can review it.

Otherwise the above links are about as good as its going to get.
 
Share this answer
 
Comments
Richard Deeming 11-Oct-18 9:55am    
"... edit your answer ..."
Edit your question, surely? :)
Fred Andres 12-Oct-18 11:09am    
Thanks for your help. I had already found your first reference above, downloaded it and ran it successfully. It is not what I want because I want to create a new menu item to run it, not just key off an existing event. However, your other reference looks like it will get me where I want to go. Thanks again.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900