Expected variable or procedure, not Enum type

   

The name of an Enum type only appears in a statement declaring an enumeration of the type or as a qualifier. This error has the following cause and solution:

For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).