Unused local constant: '<constant>'

A local constant has been declared that is not used anywhere in your code.

Error ID: BC42099

To remove this warning

  • This error is a warning and can be ignored. To remove the warning, remove the unused constant declaration from your code.

See Also

Reference

Const Statement (Visual Basic)

Other Resources

Constants in Visual Basic