Why are you using End?

To exit a sub use Exit Sub.