Tag Archives: IF

What Is the End of Statement Expected Python Error? [Resolved]

The Error Message “End of Statement Expected” During our Python coding journey, we get a lot of error messages from the compiler or IDE we are using; some of those errors are very tricky and unclear, and others are very straightforward and helpful in repairing

How Nested Ifs In VBA Work with Examples

All programming languages support the “if” type of conditional statement. An if block is executed during runtime only if the condition is met. i.e., the result of a condition is equal to the Boolean value “true.” Syntax If ( <conditional expression> ) ‘block of statements

No Thumbnail

If/Else Then Do Nothing in Excel VBA

When we don’t want to do anything in an If-then-else statement, believe it or not, we can simply not place any code! This is the most straightforward way to ‘do nothing’ in VBA. VBA does not have a specific statement that can be used for

How to Use IF OR Statements in VBA

In VBA, IF OR is the combined utilization of the IF statement and the OR keyword. Particularly, the OR keyword is used to construct the logic of the condition statement. The syntax for the combined IF OR statement is as follows: IF [condition statement 1]

Word IF Then Else Rule (Mail Merge) Insert Fields

Previously in the article Word IF Then Else Rule (Mail Merge) I’ve explained how you can use the If Then Rule in Mail Merge. In that article the If Then Else Field would insert a text string based on the result of the comparison. In this article I will

Word Skip Record If Rule (Mail Merge)

In this article I will explain the Skip Record If Rule used in Mail Merge. – What is it? The Skip Record If Rule compares the value of a field with a certain value. If the comparison returns true, the current record will not be merged. Example: Consider