Click here to Skip to main content
13,900,451 members
Rate this:
 
Please Sign up or sign in to 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

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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.
   
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Cookies | Terms of Service
Web03 | 2.8.190306.1 | Last Updated 10 Oct 2018
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100