SOS plz Help

bjsteyn

Registered User.
Local time
Tomorrow, 01:05
Joined
May 15, 2008
Messages
113
Hey i disabled all my menu's and toolbars in startup, as I wanted to. But how do I get it back?? The startup menu item is gone. Feel very stupid right now. :-(
 
Your a life saver. Thanks. :-) bj
 
i also always have a procedure i can run that will reset everything if i screw up:

Code:
Function DebugMe()
On Error GoTo errorhandler
 
Dim i As Integer
For i = 1 To CommandBars.Count
CommandBars(i).Enabled = True
Next i
'reset all toolbars
 
DoCmd.SelectObject acTable, , True
'unhide the table window
 
 Application.CommandBars("MainMenuBar").Enabled = True 
'show my bar
 
DoCmd.ShowToolbar "MainMenuBar"
Application.CommandBars.DisableAskAQuestionDropdown = True
'shows the askquestion in toolbar
Application.CommandBars.DisableCustomize = False 
'allows customizing again

errorhandler:
If Err.Number = 0 Then
Else
MsgBox (Err.Description)
End If
End Function
 

Users who are viewing this thread

Back
Top Bottom