Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated


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

© 2016 Microsoft