Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer


The Case keyword introduces a value or set of values against which the value of an expression is to be tested.

The Case keyword is used in this context:

Select...Case Statements

See Also

Visual Basic Language Keywords

© 2015 Microsoft