This documentation is archived and is not being maintained.

DoCmd.Beep Method

Office 2007
The Beep method carries out the Beep action in Visual Basic.



expression   A variable that represents a DoCmd object.


This method has no arguments and can called directly using the syntax DoCmd.Beep.

You can also use the VBA command Interaction.Beep to accomplish the same result.

You can also use the Visual Basic Beep statement to cause your computer to sound a tone through its speaker.