If…ElseIF Statement
When there are more than two possible actions to take we sometimes use a serial if statement.
Format of a serial if statement in Visual Basic
With a serial If statement each condition is tested until one is found to be true. If a condition is found to be true the conditional statements will be executed and then control will be passed to the statement following the End If.