+ Reply to Thread
Results 1 to 3 of 3

Alarm function with four different conditions

  1. #1
    Registered User
    Join Date
    12-19-2014
    Location
    US
    MS-Off Ver
    2010 Suite
    Posts
    28

    Alarm function with four different conditions

    Hello,

    Is there a VBA a code for an alarm function

    I have four different conditions,
    I want it to play a sound when it reaches 9
    then play another sound at 10
    then another different from the two when it reaches 11
    then another different from the three when it reaches 12
    Each with a different sound (wav file)

    Instead of separately doing each one. I wanted to minimize the space I have on the workbook. I have this code for each one:

    Please Login or Register  to view this content.
    Can you help me find a code where I can operate all sounds with one alarm function
    Last edited by gdclyde; 01-02-2015 at 01:38 PM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Alarm function with four different conditions

    Hi, Unfortunately your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    12-19-2014
    Location
    US
    MS-Off Ver
    2010 Suite
    Posts
    28

    Re: Alarm function with four different conditions

    The code is posted correctly

    Thanks

+ 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. Function Alarm
    By dsim in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-25-2014, 10:09 AM
  2. Alarm
    By Wobblywheel in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 06-04-2012, 07:40 AM
  3. [SOLVED] Alarm
    By Manthony in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-06-2006, 10:55 AM
  4. [SOLVED] Alarm
    By Manthony in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-06-2006, 10:50 AM
  5. [SOLVED] Alarm
    By Manthony in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-06-2006, 10:45 AM

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