Not all VBA IF statements need an EndIf. Mark's second example is one ofthose.IF condition THEN statementThe statement following the IF is run no matter the condition was.