+ Reply to Thread
Results 1 to 9 of 9

I need to create a conditional alarm ( sound or notification box - pop-up message or any )

  1. #1
    Registered User
    Join Date
    08-28-2013
    Location
    Doha, Qatar
    MS-Off Ver
    Excel 2010
    Posts
    5

    I need to create a conditional alarm ( sound or notification box - pop-up message or any )

    Dear Friends, Experts ..

    i have some experts in Excel formulas and function, i always use excel to automate my work, but i'm new in the VBA, i know a little pit but please don't depend on with the reply, give me the solution from A-Z ( even tell me how and where to put the code exactly )

    I just want to make an alarm conditionally for some cells value ( >, <, = ) i want to have a message box notification or some sound alarm or flashing cells whenever i open the excel sheet, please advise me it is urgent to me to finalize the project i'm working on,

    Thanks a lot in advance experts ..

  2. #2
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: I need to create a conditional alarm ( sound or notification box - pop-up message or a

    Welcome to the forum.

    We will need some additional details. What cells are you comparing?

    For instance. This will test to see if cell A1 is less than cell B1 every time the workbook is open. If A1 < B 1 then it will beep and display a message box.

    Please Login or Register  to view this content.
    Last edited by Solus Rankin; 08-28-2013 at 09:51 AM.
    Thanks,
    Solus


    Please remember the following:

    1. Use [code] code tags [/code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    Highlight the code in your post and press the # button in the toolbar.
    2. Show appreciation to those who have helped you by clicking below their posts.
    3. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

    "Slow is smooth, smooth is fast."

  3. #3
    Registered User
    Join Date
    08-28-2013
    Location
    Doha, Qatar
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: I need to create a conditional alarm ( sound or notification box - pop-up message or a

    Thanks for the fast response Solus,

    Actually i tried to copy your code and i put in the developer ( workbook ) and tried to put values in A&B but no beep or notification done, anyhow maybe i couldn't put it in the right place, i would like to attach the file for you,

    Now i did attach it, the meant cells to notification are the ( Y ) i want to make a notification if Y<3 ( if the shipment arrival after three days )

    It will be appreciated if i get the general rule so i can do it on many cells in this schedule as it is very important to my work procedure.

    Thanks in advance
    Attached Files Attached Files

  4. #4
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: I need to create a conditional alarm ( sound or notification box - pop-up message or a

    try Orders Schedule Plan1.xlsm

    I had to delete the second sheet to reduce the file size far enough to upload it. Currently the macro runs on a button click but that can be automated if you would like. Test it, and if it is what you need then copy the code in the Sheet module into your actual workbook.

  5. #5
    Registered User
    Join Date
    08-28-2013
    Location
    Doha, Qatar
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: I need to create a conditional alarm ( sound or notification box - pop-up message or a

    Dear Solus,

    I would like to thank you again for your great effort, we are so close to solve it as i felt,

    Now look my friend, the notification box idea is good but some issues should be added to get the requested result,

    I may get more than one arrival date and in his case i should have a notification with all of them, and i need to know which of them is the meant one so i should got the container number ( B ) and the message ( about arriving ) then this message box should have many lines to fit to all possible arrivals, and the notification should start automatically to get the benefit of it. this is option 1 - if possible.

    Option 2 : if i got just a flashing cells i can set conditionally ( >, <, = )

    Thanks a lot in advance and your efforts are absolutely appreciated,

    Essam

  6. #6
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: I need to create a conditional alarm ( sound or notification box - pop-up message or a

    Ok. I think I understand. Try: Orders Schedule Plan1.xlsm

  7. #7
    Registered User
    Join Date
    08-28-2013
    Location
    Doha, Qatar
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: I need to create a conditional alarm ( sound or notification box - pop-up message or a

    Very nice and appreciated dear,

    I don't know if i'm bothering you or requesting too much, as you got my point and as i saw the idea you made, i read in some place that we can make flashing cells somehow, now i need something similar to this flashing idea or the same that can give each cell its privacy, the message box will not give the exact purpose i'm looking for cause it just appear with a list which i can't use to go in details of the line which is very important to complete the job,

    simply my friend, if you have any solution for me to get notified with the whole line and/or just the remain days cell in the line whenever the goods will arrive within 3 days and to keep notified till i change the value of the cell ( W ) to ( under clearance Or Received ).

    Really i appreciate your efforts and i would like to tell everybody how useful was this site, and also such as those website will not be powerful without such as your expert and cooperation.

    Thanks in advance and i wish i could do something useful for you as well.

  8. #8
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: I need to create a conditional alarm ( sound or notification box - pop-up message or a

    To make them flash the background of the cell has to be formatted. This will override the color formatting you already have (you have a lot of formatting). Also, you have merged cells which makes highlighting entire rows difficult.

  9. #9
    Registered User
    Join Date
    08-28-2013
    Location
    Doha, Qatar
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: I need to create a conditional alarm ( sound or notification box - pop-up message or a

    Dear Friend,

    As you know now what is the result i need, do you have as an expert any solution to get this result, you can suggest me any way you find well.

    And thanks in advance .

+ 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. popup alarm message
    By Southernw2002 in forum Excel General
    Replies: 2
    Last Post: 07-08-2012, 10:04 PM
  2. Display a visual alert and sound an audible alarm
    By shawnh in forum Excel General
    Replies: 18
    Last Post: 04-11-2012, 07:25 PM
  3. Pop-up / Alarm notification
    By ScottBNYM in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-10-2009, 12:18 PM
  4. Sound Alarm when time expires
    By EMoe in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-04-2005, 02:05 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