LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default Custom menu disappears

Ok, probably a stupid question but:

I'm creating a custom menu with buttons to apply custom user defined
charts:

Dim myMenu As Object
Set myMenu = CommandBars("Worksheet menu
bar").Controls.Add(Type:=msoControlPopup)

With myMenu
.Caption = "User defined charts"
. . .
End With

The problem is: this menu disappears when a chart is selected. I can
change it to "Chart menu bar" but then it disappears when no chart is
selected.

What do I have to put there to make the menu visible all the time?

--
Fredrik E. Nilsen
 
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
menu toolbar disappears and right click wont work in charts Alison Charts and Charting in Excel 0 May 5th 06 02:23 AM
Custom sort in macro disappears backbutton Excel Programming 3 January 31st 06 05:34 PM
addin and main menu disappears Przemek Excel Programming 2 August 4th 05 09:14 AM
Data Analysis Options disappears from Pull Down Menu ch Excel Discussion (Misc queries) 2 June 2nd 05 07:58 AM


All times are GMT +1. The time now is 07:26 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"