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 sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

changing toolbars & menubars

Status
Not open for further replies.

OhioSteve

MIS
Mar 12, 2002
1,352
US
I prefer to have a blank menu bar and toolbar whenever my forms display. Years ago, I made a blank toolbar and menu bar using the gui. I have imported them into many different .mdbs. Now I have two questions:

1. I have forgotten how I created the menubar and toolbar using the gui. Can you jog my memory on that? Like, how do I reach the interface?

2. Now my vba skills are much stronger. Is there a way to make these objects through code?
 
Hi,

To get you started:
To Create your own menus etc just right click on an bar and choose edit. When created a new menubar, you can manipulate it wtith VBA with:

Code:
'Hide the databasewindow
DoCmd.ShowToolbar "Database", acToolbarNo
'Show my custom menu
DoCmd.ShowToolbar "employee", acToolbarYes


EasyIT

"Do you think that’s air you're breathing?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top