Toolbars do not show after being restored

  • Thread starter Thread starter sJ
  • Start date Start date
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
 
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
 
Back
Top