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 Else keyword introduces a group of statements to be executed if no other conditional group of statements has been executed.

The Else keyword is used in these contexts:

If...Then...Else Statements

Select...Case Statements

See Also

Visual Basic Language Keywords

© 2015 Microsoft