Welcome to the Forum! Please read this topic to learn how to post code correctly and other useful tips for newcomers.

I see you've posted your problem in the forum as you should.