C
Carlton
Hello all,
I wonder if someone would be so kind as to let me know how I can
program excel to trigger a message box when three conditions occur.
For example, lets say I have the following values in cells A1 to A3.
Cell A1 = 2
Cell A2 = 3
Cell A4 = 4
Now, I would like a message box (msgbox) to be triggered only if the
following are ALL greater than the above cells:
Cell A5 = 3
Cell A6 = 4
Cell A7 = 5
So, if cells A5 through to A7 are greater than their respective cells
A1 through to A3 then I would like a formula that would trigger a
message box.
Please note that all cells A5 through to A7 will need to be higher.
For example, if cell A5 is greater than cell A1 and cell A6 is greater
than cell A2, but cell A7 is less than A4 I don't want a message box
to be triggered.
Any help would be greatly appreciated.
Even if someone could tell me if its actually possible (which I'm sure
it is) I would be grateful.
Cheers
Carlton
I wonder if someone would be so kind as to let me know how I can
program excel to trigger a message box when three conditions occur.
For example, lets say I have the following values in cells A1 to A3.
Cell A1 = 2
Cell A2 = 3
Cell A4 = 4
Now, I would like a message box (msgbox) to be triggered only if the
following are ALL greater than the above cells:
Cell A5 = 3
Cell A6 = 4
Cell A7 = 5
So, if cells A5 through to A7 are greater than their respective cells
A1 through to A3 then I would like a formula that would trigger a
message box.
Please note that all cells A5 through to A7 will need to be higher.
For example, if cell A5 is greater than cell A1 and cell A6 is greater
than cell A2, but cell A7 is less than A4 I don't want a message box
to be triggered.
Any help would be greatly appreciated.
Even if someone could tell me if its actually possible (which I'm sure
it is) I would be grateful.
Cheers
Carlton