End of statement expected
TOC
Collapse the table of content
Expand the table of content

End of statement expected

Updated: October 2011

The statement is syntactically complete, but an additional programming element follows the element that completes the statement. A line terminator is required at the end of every statement.

A line terminator divides the characters of a Visual Basic source file into lines. For more information about line terminators, see the Visual Basic Language Specification.

Error ID: BC30205

To correct this error

  1. Check to see if two different statements have inadvertently been put on the same line.

  2. Insert a line terminator after the element that completes the statement.

Date

History

Reason

October 2011

Added information about line terminators.

Customer feedback.

Community Additions

ADD
Show:
© 2016 Microsoft