Results 1 to 12 of 12

Alert - When 3 conditions are met on the same row

Threaded View

  1. #1
    Registered User
    Join Date
    12-22-2011
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2007
    Posts
    26

    Alert - When 3 conditions are met on the same row

    Hello All,

    I'm looking for vba for the following situation.

    Excel 2007

    On tab (Sheet4) labeled "Orders"

    Event trigger = After data has been entered into the first empty cell(s) of Column H

    Check to see if the following three conditions are true (I shall setup a button to activate the VBA code)

    1st - Column C - a cell has the phrase -> 2) Replacement Only
    2nd - Column B - same row, the cell has a date that is -> older than 10 days
    3rd - Column H - same row, the cell is -> blank (should have a date in it - If it has a date - no action regardless of the age of the date in column B)

    'When all three conditions are met then a Message box: A Replacement Only Order has not delivered yet.
    And have the cell in column C have this attribute... ActiveCell.Interior.ColorIndex = 6

    If there re not any instances then no message or alert.

    It would be cool if the message box could report how many instances occurred. If not, it wouldn't be

    necessary for multiple Message box pop ups for each instance. (Just one alert)


    Thanks so much in advance.
    Last edited by Alvin Hunter; 04-16-2012 at 11:45 AM.

Thread Information

Users Browsing this Thread

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

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