'End Using' must be preceded by a matching 'Using'

An End Using statement appears with no matching Using declaration preceding it.

Error ID: BC36007

To correct this error

  • Remove the End Using statement if it is redundant.

  • Supply the missing Using Statement (Visual Basic) if one is missing.

  • Move the End Using statement to the appropriate place in the code.

See Also

Reference

End (Visual Basic)