A condition statement is a test if a certain condition is met or not. Using conditions will direct the macro execution in a certain direction, depending on the test and the inputs. The VBA elements we discuss in this chapter are: Ifâ¦ Thenâ¦ Elseâ¦ Statement. Command Button. Option Compare Text. Nesting of statements.