Welcome to our forum, Sprink85! :cool:

Your use of code tags is good, and your indentation (which makes your code much easier to study), is good, until line 27, which should NOT be indented, and...