Use Access Special Keys : Access Environment « Access « VBA / Excel / Access / Word






Use Access Special Keys

 

Public Sub startupProperties()
   Dim myDatabase As Object
   Set myDatabase = CurrentDb
   With myDatabase
      .Properties.Delete "AllowFullMenus"
      .Properties.Delete "AllowToolBarChanges"
    End With
    Application.RefreshTitleBar
End Sub

 








Related examples in the same category

1.Changing the Access Environment
2.Changing Options
3.Creating a Password Programmatically with SQL command
4.Change the password of the database from smith to jones
5.Add or delete users
6.Create user for Access database