Toolbars do not show after being restored

S

sJ

I hide tooolbars on the open and make them visible on close. Before my
database closes, I can see the toolbars as they are visible before the app
quits, but when I open access next time all are hidden. Below is my code I
use on close.

Sub ShowTB()

Dim i As Integer
For i = 1 To CommandBars.Count
CommandBars(i).Enabled = True
Next i
DoCmd.Quit
End Sub
 
M

Mark Andrews

That code looks right. I know there is a bug in access 2003 that the top
menu bar will remain hidden unless you manually move it and then move it
back to the top. I haven't seen that with regular toolbars.

HTH,
Mark
RPT Software
http://www.rptsoftware.com
 

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

Top