'<modifier>' is not valid on a local variable declaration

A Dim statement inside a procedure contains an invalid keyword, such as Overloads.

Error ID: BC30247

To correct this error

  • Remove the invalid keyword from the Dim statement.

See Also

Reference

Dim Statement (Visual Basic)