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!

Built-in toolbar names?

Status
Not open for further replies.

camidon

Programmer
May 9, 2000
268
US
Does anyone know where I can get a list of what the default values are for the built-in toolbar names for the showtoolbars method?

ex. docmd.showtoolbars "Formatting",actoolbarno does not hide the formatting toolbar. It gives an error.

Thanks in advance,

Chris
 
Do what I did:
Click VIEW/TOOLBARS/Customize, and click the TOOLBARS tab.
Write down the names EXACTLY as you see them for any toolbars you want to control.

For example, the formatting toolbar is actually called

Formatting(Form/Report)

DoCmd.ShowToolbar "Formatting(Form/Report)", acToolBarNO

will work just fine. Note that there is NO SPACE between the "g" in Formatting and the Left Parenthetical (

Jim


Me? Ambivalent? Well, yes and no....
Another free Access forum:
More Access stuff at
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top