close all toolbars

  • Thread starter Thread starter mark kubicki
  • Start date Start date
M

mark kubicki

does anyone have some code already written to close all of the open toolbars
when a user is in a particular database (and then reopen them when they
leave)

thanks in advance,
mark
 
I don't have written code but check the Access / Office VB Help on the
CommandBars object. using this, you can access each CommandBar in the
CommandBars collection and set its Visible Property.

You may need to add the Microsoft Office Object Library into the References
collection of your database.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top