'Class' statement must end with a matching 'End Class'
Class is used to initiate a Class block; hence it can only appear at the beginning of the block, with a matching End Class statement ending the block. Either you have a redundant Class statement, or you have not ended your Class block with End Class.
Error ID: BC30481
To correct this error
Locate and remove the unnecessary Class statement.
Conclude the Class block with a matching End Class.