title | keywords | f1_keywords | ms.assetid | ms.date | ms.localizationpriority | |
---|---|---|---|---|---|---|
Else without If |
vblr6.chm1011133 |
|
1c95caf3-9b16-bc84-2a6f-da21543895e8 |
06/08/2017 |
medium |
An Else must be preceded by an If. This error has the following cause and solution:
An Else statement was used without a corresponding If statement. Check other control structures within the If...End If structure and verify that they are correctly matched. Also check that the block If is correctly formatted.
For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).
[!includeSupport and feedback]