Search notes:
Examples for Visual Basic for Application accessing the Windows API: Beep
Beep sounds a given frequency for a given period of time in milliseconds.
This example needs the VBA declarations of the Windows API which can be found
here.
option explicit
sub main()
call Beep(440, 200)
call Beep(880, 200)
end sub