ribbonx

How to make a toolbar button with caption below icon using VBA?

What's missing in the following code, for the .Caption gets bellow and the icon on the top? Sub SoundLogToolbar() Dim cb As CommandBar Dim de As CommandBar Dim but As CommandBarButton Dim picPicture As IPictureDisp On Error Resume Next MkDir "C:\SoundLog\" On Error GoTo 0 On Error Resume Next ...

Create a RibbonControl in code-behind

I'm working on a PowerPoint Add-In project. I'm trying to create a RibbonToggleButton in code-behind but I can't do it the way I thought, RibbonToggleButton toggleButton = new RibbonToggleButton(); Is it possible to create RibbonControls in code-behind and not the RibbonDesigner or RibbonXML? ...

Excel 2007 Ribbon Will Not Re-Validate Unless Excel Window Has Focus

I am experiencing a strange problem. I have a custom Ribbon in Excel 2007 (built using RibbonX). Certain tabs in the ribbon are dynamically hidden and dropdowns are dynamically populated. This means that when the use takes certain actions the ribbon must be invalidated so it can be re-drawn. This works 100% of the time when the user has...

One RibbonX for multiple Excel 2007 workbooks

I have an Excel 2003 VBA solution I'm converting to Excel 2007. The solution had a large collection of menus that were used between multiple workbooks. I've created RibbonX to replicate this functionality, but now I'm to the point where I want to make my Ribbon show up on all these workbooks. How do I go about this? When I switch fro...

How to hook up chm help file to custom Ribbon buttons in Excel Add-In (RibbonX)

VS2008, Excel 2007, RibbonX, Excel Shared Add-In, Not VSTO There is no property in RibbonXML that I can set help to a ribbon button I can't get hold of reference to any particular ribbon button, I only can get a reference to IRibbonUI in RibbonLoaded call back Anyone know how to accomplish this? thanks ...

Updating RibbonMenu

I'm trying to find a way to update a RibbonMenu's items (like a few RibbonButtons) when the RibbonMenu is clicked (i.e. something like a BeforeDropDown). I know I can update it with the event of another control, but how do it update it when it is clicked? This http://msdn.microsoft.com/en-us/library/microsoft.office.tools.ribbon.ribbonm...