If condition Then code to execute if true ElseIf condition Then code Else code to execute if conditions are both false End If