Hi and welcome to the forum.
Please see the announcements page for tips on forum use.
Can you paste the code on the forum rather than attach it. It is just easier for people to read that way, and...