Glad to hear it works (and you’ve discovered a distant relative).
Please consider marking my post (above; containing the final working automation) with the Solution tag (only one post in the thread can have this tag). It will automatically place a check-mark next to the topic’s title which signals to other users that this topic has an accepted solution (I.e. it’s resolved). It will also put a link below your first post that leads to the solution post. All of this helps other users find answers to similar questions.