DoCmd Object.
The Beep method carries out the Beep action in Visual Basic. For more information on how the action works, see the action topic.
DoCmd.Beep
This method uses no arguments.
You can also use the Visual Basic Beep statement to cause your computer to sound a tone through its speaker.
Beep Action, DoCmd Object, MsgBox Action.