Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to customize the Word menu bar.

Status
Not open for further replies.

capslock

Technical User
Mar 12, 2003
3
GB
I would like to remove say, the File->Open option from the menu.

Can anyone tell me how to do this?

Thanks.
CL
 
application.commandbars("Menu Bar").controls("File").controls("Open...").visible=false

Make sure to set the visible property back to True when you are done - Word will remember the setting even after you close the application.
Rob
[flowerface]
 
cheers Rob.

what about the open icon on the toolbar?

Can you recommend a book for these kinda queries?

Rgds,
CL

 
I've not been impressed with the Word VBA books I've seen (Excel ones are typically better), but any of them will cover the basics. Read their reviews on Amazon.com (search for "Word VBA" to find the books) and decide which one sounds best.
For the toolbar, you can use:

application.CommandBars("Standard").controls("Open...").visible=False

Rob
[flowerface]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top