I’m looking to cleanup some code.
I believe the following statement can be reduced –
From: If Range(“F2”) > 0 And Range(“F3”) > 0 And Range(“F4”) > 0 Then. . .
To: If Range(“F2,F3,F4”) > 0 Then. . .
Is there such a concatenation for an OR statement such as –
If Range(“F5”) > 0 Or Range(“F6”) > 0 Or Range(“F7”) > 0 Then. . .
Thanks,
Steve
I believe the following statement can be reduced –
From: If Range(“F2”) > 0 And Range(“F3”) > 0 And Range(“F4”) > 0 Then. . .
To: If Range(“F2,F3,F4”) > 0 Then. . .
Is there such a concatenation for an OR statement such as –
If Range(“F5”) > 0 Or Range(“F6”) > 0 Or Range(“F7”) > 0 Then. . .
Thanks,
Steve