I am trying to make a menu bar (named CTSMenuBar) that has two menus. One menu is a custom menu and the other is the file menu with everything invisible but the Print, Print Preview and Print Area menu items. The following is the code I found that eliminates everything off the file menu except for what I want but it seems long. If possible I would like to know if it can be done in a more expedient manner since I may have to do it in several areas of my project. Also if anybody knows how, I would like to eliminate the recent documents area of the File Menu as well.
CommandBars("Worksheet Menu Bar").Controls(1).Copy Bar:=CommandBars("CTSMenuBar")
CommandBars
("CTSMenuBar").FindControl(ID:=30002).Controls("&Save").Visible = False
CommandBars ("CTSMenuBar").FindControl(ID:=30002).Controls("&Save As...").Visible = False
CommandBars("CTSMenuBar").FindControl(ID:=30002).Controls("&Save As Web Page...").Visible = False
CommandBars("CTSMenuBar").FindControl(ID:=30002).Controls("&Save Workspace...").Visible = False
CommandBars("CTSMenuBar").FindControl(ID:=30002).Controls("&Search...").Visible = False
CommandBars("CTSMenuBar").FindControl(ID:=30002).Controls("&Open...").Visible = False
CommandBars("CTSMenuBar").FindControl(ID:=30002).Controls("&Web Page Preview").Visible = False
CommandBars("CTSMenuBar").FindControl(ID:=30002).Controls("&New...").Visible = False
CommandBars("CTSMenuBar").FindControl(ID:=30002).Controls("&Page Setup...").Visible = False
CommandBars("CTSMenuBar").FindControl(ID:=30002).Controls("&Send To").Visible = False
CommandBars("CTSMenuBar").FindControl(ID:=30002).Controls("&Properties").Visible = False
CommandBars("CTSMenuBar").FindControl(ID:=30002).Controls("&Close").Visible = False
CommandBars("CTSMenuBar").FindControl(ID:=30002).Controls("&Exit").Visible = False:biggrin: