ExcelVBA If Then Statement in Excel VBA by Easy Excel Tutorials May 20, 2022 Use the If Then statement in Excel VBA to execute code lines if a specific condition is met.