Engineer Joe
Well-known Member
- Joined
- Jun 10, 2005
- Messages
- 549
For some reason, I can't seem to make this junk work...here's what i'm trying to do. I have to input values (A and B). I'd like make an if statement that operates only if the values of BOTH A and B were input (i.e. not skipped over. The input is done in a textbox in a userform. This if/then statement is also excecuted at commandbutton_click() by the way.) I thought that this would work, but it isn't
What is the best way to indicate that A is not equal to nothing or "" or has been defined????
thanksesseseseses
Code:
If Not (A ="" or B="") then
blah, blah blah
What is the best way to indicate that A is not equal to nothing or "" or has been defined????
thanksesseseseses