B
bill
How can I create a sub menu under the menu item 'Comments'?
tia
Set MenuItem = NewMenu.Controls.Add (Type:=msoControlPopup)
With MenuItem
.Caption = "&Comments"
.BeginGroup = True
End With
Set Submenuitem = MenuItem.Controls.Add (Type:=msoControlButton)
With Submenuitem
.Caption = "&Display Comments"
.OnAction = " ShowTheComments"
End With
tia
Set MenuItem = NewMenu.Controls.Add (Type:=msoControlPopup)
With MenuItem
.Caption = "&Comments"
.BeginGroup = True
End With
Set Submenuitem = MenuItem.Controls.Add (Type:=msoControlButton)
With Submenuitem
.Caption = "&Display Comments"
.OnAction = " ShowTheComments"
End With