Link to home
Start Free TrialLog in
Avatar of dlmille
dlmilleFlag for United States of America

asked on

Excel Command Bar dissappears when I select an object like a Chart

I have Addin menu items that work just fine, but when I'm on an Active Chart (in sheet or as separate tab) the Addin menuitems dissappear!

What gives?

Dave
Avatar of SiddharthRout
SiddharthRout
Flag of India image

ASKER CERTIFIED SOLUTION
Avatar of SiddharthRout
SiddharthRout
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The behavior described is from Excel 2003 or earier. The Custom UI designer only has an effect on Excel 2007 or later.

The menu is added to the Worksheet menu bar. When a chart is selected, the Worksheet menu bar is hidden and the Chart menu bar appears. Since the menu was not also added to the Chart menu bar, it disappears when the menu bars switch.

Unfortunately the add-in designer didn't think to add the menu to both menu bars. You may be able to copy it to the Chart menu bar, and it may still be there the next time you start Excel.

On the Tools menu, choose Customize. On the Toolbars tab, make sure both the Worksheet Menu Bar and Chart Menu Bar are checked. This makes both menu bars visible. Hold Ctrl while you click and drag the menu from the Worksheet menu bar to the Chart menu bar (holding Ctrl makes a copy of the menu).

If the add-in designer forgot to add the menu to the Chart menu bar, he probably also didn't plan to remove it, so it is likely to persist between Excel sessions.
Avatar of dlmille

ASKER

So.  I am the addin designer, lol and my menus work great, even between Excel sessions, than you for that advice anyway.  When I select the chart, then flip to Addins - some professional addins are there, but not mine.  I should not have to add it to the Chart menu bar to use the menu function.  

Snag it is in the Custom Toolbar menu, where mine is under the group called Menu Commands.  Is there a difference?

Dave
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dlmille

ASKER

Snag It is only on the custom toolbar menu.  I found that if I made my menubar FLOATING, it also shows up on the custom toolbar menu.

This is the solution, I think.  Thanks for help on both avenues - I'll be looking into custom UI and Jon also gave some ideas so I'll be splitting.

Dave
Avatar of dlmille

ASKER

My solution - to use floating menubar, actually allowed my menu items to get on the custom toolbar menu - and hence be available when chart was selected.