MsgBox Alert

Ike Hunter

New Member
Joined
Dec 15, 2011
Messages
35
Hello All,

I'm looking for vba for the following situation.

On tab labeled "Orders"
Sheet4 (Orders)

Event trigger = When data is entered into the first empty cell(s) of Column F

Then check to see if the following three conditions are true

1st - Column C - a cell has the phrase 2) Replacement Only
2nd - Column B - same row, cell has a date that is... older than today
3rd - Column F - same row, has a cell that is... blank

When all three conditions are met then a Message box: A Replacement Only Order Did Not Ship

It would be cool if the message box could report how many instances occurred. If not, it wouldn't be necessary for multiple Mesg box pop ups for each instance. (Just one alert)


Thank you in advance.
 
I hope someone answers this because I have always had a bit of difficulty capturing where the cursor was BEFORE the function Worksheet_SelectionChange is called. I usually capture the data into public variables but it has its issues and is hard to work with sometimes.
 
Upvote 0

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top