简体   繁体   中英

C#: Excel addin ribbon tab not displayed

Problem: I have an Excel 2010 Add-In Project in Visual Studio 2010. I added a Ribbon (Visual Designer) in it but while debugging the custom tab is not showing up in Excel Ribbon.

I have already tried all these:

  1. Creating a different project ( as I thought something might have broken this project ) but nothing --- same situation. ref
  2. Changing ControlIdType = Custom, ControlID="tabPsycho".
  3. Checked Add-In option in Excel [ it does show in Active Application Add-Ins list ] and is checked. ref
  4. Yes, it does load in Excel [ as I placed a Msgbox to check ]

Your add-in i probably disabled so enable it. If it is, here is the way to do it: http://msdn.microsoft.com/en-us/library/ms268871%28v=vs.90%29.aspx

This just happened to me in Visual Studio 2022, what you can try is the Build -> Rebuild Solution (and Rebuild All if prompted).

The add-in was getting loaded but not displayed in the Ribbon, and this took care of it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM