How can I close all the toolbars with VBA?
I've tried the following :
-----------------------------------------------------
Dim cb
For Each cb In Application.CommandBars
If cb.Visible = True Then cb.Visible = False
Next
I'm pleased that you were able to get the problem resolved. Just for future
reference, I don't click on unknown links in newsgroups and suspect others
might feel the same way. You might be further ahead to actually post the
error message.
thanks one more time and sorry for posting a link to the error message.
this is the error:
---------------------------------------------------------------
Microsoft office access has encountered a problem and needs to close.
We are sorry for the inconvenience.
The information you were working on might be lost. Microsfotf office accss
can try to compact and repair your open database.
Repair my open database and restart Microsoft office access
Please tell microsoft about this problem.
We have created an error report that you cand sent to help us improve
microsoft office access. We will treat this report as confidetial and
anonymous.
What does this error report contains?
why shoul I report to microsoft
Send Error report(Button) Don't send(Button)
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.