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

Access 2007 - Create custom toolbar for Add-Ins tab

Status
Not open for further replies.

jkirkland

Technical User
Apr 24, 2003
61
US
I am re-creating an Access 2003 program in Access 2007. I had a custom toolbar in the older version.

Does anyone know the code to make a custom toolbar on the Add-Ins tab for Access 2007?

The command: application.commandbars.add does not seem to work.

Thanks!
 
I figured it out. You can still create custom toolbars using:

dim cmdBar as CommandBar
Set cmdBar = CommandBars.Add("CustomToolbar", msoBarTop)
Set cmdBar = Application.CommandBars("CustomToolbar")
etc, etc

To make the 'Add-Ins' tab appear with this commandbar, insert the following at the end of the procedure:

cmdBar.Visible = True

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top