Thank you for sharing code.
However, you should follow the rules.
I will edit your post and add code tags.
About cross-posting, I hope you see that if your question is answered somewhere else then solvers unnecessarily spend their time. That's why providing link to other forums is needed.
Bookmarks