Enabled Property (Command Bars)
Using the Microsoft Office Command Bars Object Model in Microsoft Access