ShowToolbar Method Example
The following example displays the custom toolbar named CustomToolbar in all Microsoft Access windows that become active:
DoCmd.ShowToolbar "CustomToolbar", acToolbarYes