+ Reply to Thread
Results 1 to 6 of 6

cant make sound alert beep multipl times

  1. #1
    Registered User
    Join Date
    03-31-2014
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    4

    cant make sound alert beep multipl times

    Hi All,

    I joined only a few days back.I am a beginner for VBA.I am trying to set up a sound alert based on a threshold value in cells/cell of a column.If the value is reached in multiple cells the beep will be that many times.The issue is that it beeps only once.Below is the code I have written .Pls tell me where is the mistake.

    Thanks

    jaypeek

    Moderator's note: Please take the time to review our rules. There aren't many, and they are all important. Rule #3 requires code tags. I have added them for you this time because you are a new member. --6StringJazzer

    Please Login or Register  to view this content.
    Last edited by 6StringJazzer; 04-03-2014 at 02:23 PM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: cant make sound alert beep multipl times

    It happens too fast for the system to respond to. Inserting a brief delay may help:

    Please Login or Register  to view this content.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    03-31-2014
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: cant make sound alert beep multipl times

    Hi Jeff,

    thanks a lot.It now works like a song.I couldnt have figured this out myself.I am really thankful to you!!
    jaypeek
    Quote Originally Posted by 6StringJazzer View Post
    It happens too fast for the system to respond to. Inserting a brief delay may help:

    Please Login or Register  to view this content.

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: cant make sound alert beep multipl times

    When responding, no need to quote the entire post, especially when it's obvious what you're responding to. If you really need to quote something just quote the relevant part.

    If your question has been answered please mark your thread as "Solved" so that members will know by looking at the thread title that your problem is solved.

    Go to the menu immediately above your first post to the thread and click on Thread Tools. From the dropdown menu select "Mark this thread as solved..."

  5. #5
    Registered User
    Join Date
    03-31-2014
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: cant make sound alert beep multipl times

    Hi Everybody
    I am trying to run a macro to play some windows media files one after the other.The file path is in sheet1(A1:A40) but maro diesnt play the sounds--- shows error 438-- object does not support this property or method.Pls help.
    thanks
    Option Explicit

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    03-31-2014
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: cant make sound alert beep multipl times

    Hi All,
    found the issue with this code.The line "Set mysounds=sheet1("A1:A47" ) should be "Set mysounds=sheet1.Range("A1:A47" )It worked OK after inserting the word "range"
    thanks
    jaypeek

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Beep or Make Sound after Calcing
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-23-2016, 02:32 PM
  2. Beep sound when condition met.
    By Rufles in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-26-2014, 11:20 AM
  3. Auto "Beep" sound doesn't work
    By byron. in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-21-2012, 01:48 PM
  4. Beep Change The Sound
    By Bob in forum Excel General
    Replies: 0
    Last Post: 07-06-2006, 07:00 PM
  5. [SOLVED] Sound alert
    By Antonio in forum Excel General
    Replies: 3
    Last Post: 05-30-2006, 02:15 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1