Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 72
Default VBA macro in Excel toolbars

I have a custom menuitem, which runs some VBA macros, added to the Excel
'Worksheet Menu Bar' toolbar.
This toolbar changes slightly when I select an embedded graph in the sheet,
and the menuitem disappears.
How can I make this menuitem available in this 'changed' toolbar as well?
thanks
roland, belgium
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 747
Default VBA macro in Excel toolbars

Roland,

It's a misconception that the buttons disappear on the Worksheet Menu Bar
when you activate a chart. What actually happens is that the Worksheet Menu
Bar is supplated by the Chart Menu Bar (as opposed to Chart toolbar) which
looks identical except that it has a Chart menu item.

To prove this, activate a chart and then drag the menu bar down so that it
is no longer docked but floating. You will see that it's named "Chart Menu
Bar". Conversely, do this when a chart is not active and you will see
"Worksheet Menu Bar". I have never figured out why they don't just have a
hidden Chart menu item on the WMB that is made visible when a chart is
activated and invisible when not.

The suggested solution is to add your button(s) to the Chart Menu Bar as well.

Regards,
Greg

"Roland" wrote:

I have a custom menuitem, which runs some VBA macros, added to the Excel
'Worksheet Menu Bar' toolbar.
This toolbar changes slightly when I select an embedded graph in the sheet,
and the menuitem disappears.
How can I make this menuitem available in this 'changed' toolbar as well?
thanks
roland, belgium

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
Lost Menus & Toolbars with Right Click macro - HELP? Silena K-K Excel Discussion (Misc queries) 0 December 11th 07 10:45 PM
Toolbars macro buttons snafu mendozalaura Excel Discussion (Misc queries) 0 October 25th 06 04:27 PM
PLEASE, PLEASE, PLEASE HELLLLP!!! Excel macro destroying Word toolbars ! jason Excel Programming 2 June 4th 04 01:20 PM
making toolbars with a macro Greg Prost Excel Programming 1 November 21st 03 09:53 AM


All times are GMT +1. The time now is 12:04 AM.

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

About Us

"It's about Microsoft Excel"