Mega Code Archive

 
Categories / VisualBasic Script / Language Basics
 

Logical operators in VBA

Operator       Description  AND            All conditions must be true before an action can be taken. OR             At least one of the conditions must be true before an action can be taken. NOT            If a condition is true, NOT makes it false. If a condition is false, NOT makes it true.