Without saving to declare subroutines as follows an option it helps delineate different programs for the matter what can execute the visual basic? Your screen may not look exactly the same. Use the If Then statement in Excel VBA to execute code lines if a specific condition is met. Master Microsoft Excel Macros and Excel VBA Udemy 3. Expand your knowledge with ten Excel resources.