Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default Menu disappears when selecting a graph

Hello

I have a vba excel 2003 application that adds a menu to the menu bar with
CommandBarPopup. When a graph object is selected, the menu disappears along
with the 'data' menu, how can I avoid this? 'data' menu is not important, but
the other is

thanks

fernando
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Menu disappears when selecting a graph

This are two different menu's fernando.
You must add your menu to the worksheet menu bar and the chart bar

Worksheet Menu Bar
Chart Menu Bar


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"fernando" wrote in message ...
Hello

I have a vba excel 2003 application that adds a menu to the menu bar with
CommandBarPopup. When a graph object is selected, the menu disappears along
with the 'data' menu, how can I avoid this? 'data' menu is not important, but
the other is

thanks

fernando

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,942
Default Menu disappears when selecting a graph

hi
this is excel being helpful. when a chart is selected, excel seems to
replace the standard menu with another, remove custom additions, the data
menu and adds a chart menu. on deselect, excel puts everything back(thank
you). since this seems to be hard coded into excel, the only solution i know
of is to put you custom stuff on a custom menu/toobar that helpful excel wont
zap as it's being helpful.

my thoughts
FSt1

"fernando" wrote:

Hello

I have a vba excel 2003 application that adds a menu to the menu bar with
CommandBarPopup. When a graph object is selected, the menu disappears along
with the 'data' menu, how can I avoid this? 'data' menu is not important, but
the other is

thanks

fernando

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default Menu disappears when selecting a graph

There are two Excel menu bars: Worksheet Menu Bar and Chart Menu Bar. The
Chart Menu Bar is activated when a chart is selected, otherwise the
Worksheet Menu Bar is activated. Any controls added to the Worksheet Menu
Bar should also be added to the Chart Menu Bar if you need them available
while a chart is active.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"fernando" wrote in message
...
Hello

I have a vba excel 2003 application that adds a menu to the menu bar with
CommandBarPopup. When a graph object is selected, the menu disappears
along
with the 'data' menu, how can I avoid this? 'data' menu is not important,
but
the other is

thanks

fernando



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA Editor Menu Bar and Toolbar disappears Tonso Excel Discussion (Misc queries) 0 May 19th 10 06:19 PM
custom menu disappears when I File, Exit, Cancel Smallweed Excel Programming 2 November 14th 07 05:51 PM
Custom menu disappears Fredrik E. Nilsen Excel Programming 8 February 13th 07 12:07 AM
Out of range line disappears in print as it re-enters graph Nisse PowerMan Charts and Charting in Excel 2 October 31st 06 11:32 AM
addin and main menu disappears Przemek Excel Programming 2 August 4th 05 09:14 AM


All times are GMT +1. The time now is 03:25 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"