![]() If testexpression matches an expressionlist expression in more than one Case clause, only the statements following the first match are executed. Control then passes to the statement following End Select. If testexpression matches any Case expressionlist expression, the statements following that Case clause are executed up to the next Case clause, or, for the last clause, up to End Select. One or more statements executed if testexpression doesn't match any of the Case clause. One or more statements executed if testexpression matches any part of expressionlist-n. ![]() If not supplied, the Is keyword is automatically inserted. Use the Is keyword with comparison operators (except Is and Like) to specify a range of values. If you use the To keyword, the smaller value must appear before To. The To keyword specifies a range of values. Delimited list of one or more of the following forms: expression, expression To expression, Is comparisonoperator expression. Any numeric expression or string expression. ![]() The Select Case statement syntax has these parts: Part Executes one of several groups of statements, depending on the value of an expression.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |