View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Steve davis Steve davis is offline
external usenet poster
 
Posts: 1
Default Menus in xlmenubar

Sub Macro1()
MenuBars(xlWorksheet).Menus.Add Caption:="&Name1", befo="&Help"
With MenuBars(xlWorksheet).Menus("&Extras").MenuItems
.Add Caption:="Name1", OnAction:="Macro2"
.AddMenu Caption:="menu1"
End With
End Sub


how do i add a new caption to menu1 and also the onaction
could anyone please help