Argument | Description |
toolbarname | A string expression that's the valid name of a Microsoft Access built-in toolbar or a custom toolbar you've created. |
If you run Visual Basic code containing the ShowToolbar method in a library database, Microsoft Access looks for the toolbar with this name first in the library database, then in the current database. |
show | One of the following intrinsic constants: |
acToolbarNo acToolbarWhereApprop acToolbarYes (default) | |
If you leave this argument blank, the default constant (acToolbarYes) is assumed. |
DoCmd.ShowToolbar "CustomToolbar", acToolbarYes