OnAction Property
Using the Microsoft Office Command Bars Object Model in Microsoft Access