After lunching program, automatically hide all menus and access staff by code

asgare

New member
Local time
Today, 21:37
Joined
Nov 2, 2008
Messages
2
I wrote an application in access 2007 for office branches in different cities.

Wondering how could it possible to make my program in way that after lunching automatically hide all menus and access staff and all is done by code or something like that.

Because almost all users are not familiar with access and I want just open the program just by one click.

I’m looking your great and helpful comments.

Thanks :)
 
Access 2003 - Not sure about Access 2007

Here is a quick code to reset all Access menu items. To hide it is just the opposite.

Code:
Private Sub cmdReset_Click()
    
    'show all the tool bar menu
    DoCmd.ShowToolbar "Menu Bar", acToolbarYes
    DoCmd.SelectObject acTable, , True

    For i = 1 To CommandBars.Count
        CommandBars(i).Enabled = True
    Next i
    
End Sub
 

Users who are viewing this thread

Back
Top Bottom