'Option <specifier>' statement can only appear once per file

The Option Compare, Option Explicit, and Option Strict statements can only be used one time each in the same source file.

Error ID: BC30225

To correct this error

  • Remove the duplicated Option statement.

See Also

Reference

Option (Visual Basic)

Option Compare Statement

Option Explicit Statement (Visual Basic)

Option Strict Statement