DoCmd.Beep

Sound a beep tone through the computer's speaker.

Syntax
      Docmd.Beep

The beep action doesn't have any arguments.

You can also use the VBA command Interaction.Beep or the Visual Basic Beep statement to accomplish the same result.

Example

DoCmd.Beep

“A careful driver is one who honks his horn when he goes through a red light” ~ Henry Morgan

Related:

In PowerShell you can raise a beep with [console]::Beep()
Visual Basic: Beep


 
Copyright © SS64.com 1999-2019
Some rights reserved