Welcome to our Microsoft Q&A platform!
Your problem is more related to VSTO , and it is out of our scope. You could go Visual Studio Tools for Office(VSTO) where you may be assisted better to ask your question.
Thanks.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi all:
I want to get a menu object(Robbin) from excel that it was developed with VSTO by Ribbon(UI or XML).
I can see the menu(Robbin) on the excel menu, but I can't get it as below:
Excel.Application excel = new Excel.Application("d:\test.xlsx");
foreach (CommandBar bar in excel.CommandBas)
{
...
}
Develop Info:
Excel version: 2016
using Excel = Microsoft.Office.Interop.Excel;
using Office = Microsoft.Office.Tools;
Welcome to our Microsoft Q&A platform!
Your problem is more related to VSTO , and it is out of our scope. You could go Visual Studio Tools for Office(VSTO) where you may be assisted better to ask your question.
Thanks.
I don't get it by the vsto project.
I want get the controls taht was developed with vsto by others and intalled into excel with addin from excel in any project.
Excel is not supported here on QnA. I'd try asking for help in dedicated forums here.
https://social.msdn.microsoft.com/Forums/Lync/en-US/home?forum=exceldev
home
https://social.technet.microsoft.com/Forums/office/en-US/home?forum=excel
https://answers.microsoft.com/en-us/msoffice/forum/msoffice_excel
--please don't forget to Accept as answer if the reply is helpful--
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.