PDA

View Full Version : [SOLVED:] IF then



idnoidno
08-27-2017, 08:07 PM
I see such an If statement like "If b or b1 Then........."
So there should be such a type like "If b and b1 Then........." .
What are the differences between "If then " and above?

mdmackillop
08-28-2017, 01:39 AM
All such statements are equivalent to "If TRUE then ...". You are testing (b OR b1), (b AND b1) or whatever for a True/False value. Try a Google search for "VBA logical operators"