How to use the IF THEN ELSE statement and the SELECT CASE statement in examples written in Visual Basic for Excel 2000 (213630)
The information in this article applies to:
This article was previously published under Q213630 SUMMARY In Microsoft Visual Basic for Applications, there are two
statements that you can use to perform a conditional test: an If...Then...Else statement or a Select Case statement. The If...Then...Else statement executes a group of statements based on the value of an
expression, and the Select Case statement executes one of several statements based on the
value of an expression. REFERENCES
For more information about using Select Case
statements, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type Using Select Case
Statements in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
For more information about the IF
statement, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type Using If...Then...Else
Statements in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
For additional
information about getting help with Visual Basic for Applications, please click
the article number below to view the article in the Microsoft Knowledge Base: 226118
Programming resources for Visual Basic for Applications
For more information about how to use the sample code in this
article, click the article number below to view the article in the Microsoft
Knowledge Base: 212536 How to run sample code from Knowledge Base articles
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto kbProgramming KB213630 |
---|
|