JulienVan
asked on
How to add a menu bar in Excel 2007 ribbon?
Hi,
I'm just beggining to use the Visual Studio 2005 Tools for the Microsoft Office System, and I've tested to add a menubar to the ribbon of Excel 2007, but it doesn't seem to work.
I don't have any error message, and I know that my menu bar has been added when I count items, but nothing appears.
Any idea?
Thanks by advance,
Julien
I'm just beggining to use the Visual Studio 2005 Tools for the Microsoft Office System, and I've tested to add a menubar to the ribbon of Excel 2007, but it doesn't seem to work.
I don't have any error message, and I know that my menu bar has been added when I count items, but nothing appears.
Any idea?
Thanks by advance,
Julien
Excel.MenuBar bar = Application.MenuBars.Add("Menu 2007");
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks, I added a ribbon item to my project and configured the xml file, and it worked!
ASKER
Do you think that it's the only way to do this (I was trying to customize the ribbon in a standard VSTO Excel add-in)?