expression.Toolbar
expression Required. An expression that returns one of the objects in the Applies To list.
Remarks
The Toolbar property setting is the name of the custom toolbar you want to display. If you leave the Toolbar property setting blank, Microsoft Access displays the form's or report's built-in (default) toolbar.
You can set the Toolbar property by using the form's or report's property sheet, a macro, or Visual Basic.
In Visual Basic, set this property by using a string expression that's the name of the toolbar you want to display.
To display the built-in toolbar for a form or report by using a macro or Visual Basic, set the Toolbar property to a zero-length string (" ").
When you set the Toolbar property, Microsoft Access displays the specified custom toolbar when the form or report is opened. This toolbar is displayed whenever the form or report has the focus.
Example
The following example displays the custom toolbar named "Suppliers_Toolbar" associated with the "Suppliers" form.
Forms.Item("Suppliers").Toolbar = "Suppliers_Toolbar"