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

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

Error ID: BC30246

To correct this error

  • Remove the invalid keyword from the Const statement.

See Also

Reference

Const Statement (Visual Basic)