Udostępnij za pośrednictwem


'Option' must be followed by 'Compare', 'Explicit', 'Infer', or 'Strict'

The only options that you can set with the Option statement are Compare, Explicit, Infer, and Strict.

Error ID: BC30206

To correct this error

  • Check to see whether an option keyword (Compare, Explicit, Infer, or Strict) is misspelled.

  • Check to see whether the Option statement is incomplete.

See Also

Reference

Option (Visual Basic)

Option Compare Statement

Option Explicit Statement (Visual Basic)

Option Infer Statement

Option Strict Statement