Help: Syntax issue with Script

You’re welcome!

However, you have marked your own post with the Solution tag. The custom of this community forum is to mark the post that contains the actual answer to the question.

For more information, refer to guideline 21 (Somebody’s answer solved it!) in the FAQ.