Your topic has been moved here as this forum section is more appropriate than where it was originally posted.
Please take care to post in the correct forum section
The easier you make it to read and copy the code the more likely it is that you will get help
Please follow the advice given in the link below when posting code