Hi there,
I have three cells, say A1, A2 & A3.
In order to be able to run a macro, one of these cells have to contain a value. No more than one of these cells can contain a value.
If there is a value in two or more or these three cells, or no values at all in the three cells, I want a msgbox to appear stating "error".
I was thinking of maybe doing some type of loop to do this, but am not sure?
I know this sounds like a puzzle Sherlock Holmes would be proud to investigate, but any help would be appreciated!
I have three cells, say A1, A2 & A3.
In order to be able to run a macro, one of these cells have to contain a value. No more than one of these cells can contain a value.
If there is a value in two or more or these three cells, or no values at all in the three cells, I want a msgbox to appear stating "error".
I was thinking of maybe doing some type of loop to do this, but am not sure?
I know this sounds like a puzzle Sherlock Holmes would be proud to investigate, but any help would be appreciated!