'End' statement not valid
The End keyword is used incorrectly or is inappropriate in the current context.
Error ID: BC30678
To correct this error
Use End by itself to cause a procedure to lose scope.
Use End with other keywords to terminate a block of code such as a structure or property.