Then <keyword>

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

The Then keyword is used in these contexts:

#If...Then...#Else Directive

If...Then...Else Statement

Show: