Beep Statement

Description

Sounds a tone through the computer’s speaker.

Syntax

Beep

Remarks

The frequency and duration of the beep depend on your hardware and system software and vary among computers.

Example

This example uses the Beep statement to sound three consecutive tones through the computer’s speaker.


For I = 1 To 3        ' Loop 3 times.
    Beep                ' Sound a tone.I