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

turning on a custom toolbar from vba code

Status
Not open for further replies.

grmman

MIS
Sep 9, 2003
81
US
How do you turn on a custom toolbar from code.
thanks
 
Docmd.ShowToolbar

(for ANY toolbar)

Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
grmman,

if my memory serves me correctly...

Private Sub Form_Load()
Me.Toolbar = "NameOfCustomToolbar"
End Sub
 
More elaborated

TO SHOW[tt]
DoCmd.ShowToolbar "ToolbarName", acToolbarYes[/tt]

TO HIDE[tt]
DoCmd.ShowToolbar "ToolbarName", acToolbarNo[/tt]

Regards

Zameer Abdulla
[sub]Jack of Visual Basic Programming, Master in Dining & Sleeping[/sub]
Visit Me
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top