DoCmd.Beep method (Access)

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 be called directly by 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.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.