Must be first statement on the line
Your multi-statement line of code contained an If…Then…Else statement, but the If…Then…Else statement was not the first statement on the line. If…Then…Else statements must be the first statement on a line.
To correct this error
- Move the If or Else statement to a new line.
See Also
If...Then...Else Statement
|