Database properties: AllowFullMenus, Allowtoolbarchanges : Database Properties « Access « VBA / Excel / Access / Word






Database properties: AllowFullMenus, Allowtoolbarchanges

 
Public Sub startupProperties()
   Dim myDatabase As Object
   Set myDatabase = CurrentDb
   myDatabase.Properties("AllowFullMenus") = False
   myDatabase.Properties("Allowtoolbarchanges") = False
   
End Sub

 








Related examples in the same category

1.Set new property to database
2.Enumerate the properties of current database
3.Sub KeepEmOut()
4.reset any values you set
5.Changing Options