when I open the userform and hit cancel it works as it should nothing is input. If open it and input any data and hit cancel it inputs partial information like "Due:", "assignment type", and a "-" for grade received. This is kinda lengthy so hopefully someone can see the error of my ways.

I uploaded the code in a text file for easier viewing shouldnt need to download should be able to preview it when you click the link.

Text File


Thank you for looking with some luck someone will see how to make it cancel with no data input