Results 1 to 4 of 4

Thread: *Resolved* VBA 'Beep' Command?

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2004
    Location
    Right here
    Posts
    275

    *Resolved* VBA 'Beep' Command?

    Is there a way to make Excel VBA produce a beep sound? I want the one that is produced in most Window's programs when an error occurs. Dunno what the VBA command is but the code would generally look like this:

    VB Code:
    1. Sub Produce_Beep()
    2.  
    3.     Sound.Beep
    4.     MsgBox "An error has occured!"
    5.  
    6. End Sub

    You get the idea! Anyone know how to do this?

    Cheers
    -Rob
    Last edited by TheRobster; Apr 13th, 2005 at 06:50 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width