Edit

Share via


'<specifier>' is not valid on a WithEvents declaration

A Dim statement contains a keyword, such as ReadOnly, that is invalid in combination with the WithEvents keyword.

Error ID: BC30234

To correct this error

  1. Remove the invalid keyword from the Dim statement.

See also