An Enum is a data type that can be used to create groups of related constants (called enumerations). This error has the following causes and solutions:
Check for text that may appear between the body of the Enum definition and the End Enum statement.
For additional information, select the item in question and press F1.