![]() Note that as soon as one case in the Select Case statement is matched, and the corresponding code executed, the whole Select Case statement is exited. This is an example of the 'Else' condition, which is executed if your expression hasn't matched any of the previous cases This is an example of the basic test of whether your expression evaluates to a specific value This is an example of how you can test if your expression evaluates to any one of several values, by separating the possible values by commas This is an example of how you can test if your expression satisfies a condition such as <= 5 by using the keyword Case Is The above example illustrates different ways of defining the different Cases in the Select Case statement. = 255 ' Color cell interior red End Select
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |