if else

VBA Programming : Decision – Select Case

Hello friends in the last article of VBA Programming Tutorial you have learnt the use of If..else statement. In this lesson you are going to learn another decision making statements in VBA. It means it is another way to control the flow of program, that is nothing but Select... Case structure.   Syntax:   Select Case <test_expression>     Case <condition_1>       <Your code [...]

VBA Programming : If Then Statement

This Article is going to teach you about the Conditional Programming. By Conditional Programming, I mean, execution of certain statements based on certain conditions. Sometimes in VBA programming, we want to execute certain statements only when a specific condition is met. If Then Statement helps you achieving this. Now we will discuss about all aspects of If Then Statements. We [...]