Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Custom menus in chart sheets

How do I keep my custom menus in new chart sheets?

I inserted three new chart sheets, but my custom menus didn't appear
automatically.

Please send some example code in VBA to accomplish this.

--
Any help will be appreciated.

Regards,

CyberBuzzard
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Custom menus in chart sheets

Not sure if I understand but maybe something like this -

Set objMenu = Application.CommandBars("Chart Menu Bar").Controls("Format")
With objMenu.Controls.Add(Type:=msoControlButton)
..Caption = "&MyMacro"
..OnAction = ThisWorkbook.Name & "!MyMacro"
End With

Regards,
Peter T

"CyberBuzzard" wrote in message
...
How do I keep my custom menus in new chart sheets?

I inserted three new chart sheets, but my custom menus didn't appear
automatically.

Please send some example code in VBA to accomplish this.

--
Any help will be appreciated.

Regards,

CyberBuzzard



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
XL chart sheets Custom size for PPT Brian Reilly, MVP Charts and Charting in Excel 6 January 8th 08 05:51 AM
Please Help Me with Custom menus Mr BT Excel Worksheet Functions 7 July 4th 06 05:15 PM
Custom menus Stephen[_21_] Excel Programming 3 February 13th 05 07:25 PM
Custom faces for custom menus/commandbars Stu Valentine Excel Programming 1 September 17th 04 04:28 AM
Custom Menus Andy Wiggins[_2_] Excel Programming 0 September 19th 03 06:10 AM


All times are GMT +1. The time now is 03:54 PM.

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"