Fresh Excel Tips

Quick and Easy Excel Tips and Tutorials

How to Use IF/then/Else Conditional Statements in Excel VBA

Below, we will illustrate a few examples on how to use IF/then/Else statements: If (time = 32000) then ' Statements go here End If If (MyCondition = True) Then ' Statements Else ' More statements End If If (count < 10) Then ' Statements ElseIf (count < 20) Then ' Statements ElseIf [...]