Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello:
I added a new custom menu using the follwing the code Sub CreateMenu() Dim DataMenu As CommandBarPopup Dim NewMenuItem As CommandBarButton Set DataMenu = CommandBars(1).FindControl(ID:=30011) Set NewMenuItem = DataMenu.Controls.Add _ (Type:=msoControlButton) With NewMenuItem .Caption = "&eeprom" .OnAction = "emc" .BeginGroup = True End With End Sub Sub emc() UserFormEMC.Show End Sub This works and added a menu eeprom in main menu data. I am not able to delete the menu eeprom ? How do I do that? Thanks in advance Ravi |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Deleting Headers and Footers that are in the drop down Menu? | Excel Discussion (Misc queries) | |||
Deleting an otpion on the drop down menu on a pivot table | Excel Discussion (Misc queries) | |||
How do I get Goal Seek back after deleting it from the Tools menu. | Excel Discussion (Misc queries) | |||
Deleting a Menu Bar | Excel Programming | |||
Problems deleting custom menu = double entries | Excel Programming |