My link from above is not pointing to my macro, it was meant to point to @peternlewis’s macro, more precisely it is pointing to the topic Peter has started. (My macro is the one in the follow-up post. But I would recommend to use Peter’s original macro, unless you need the additional functionality of my macro.)
But, no matter which macro you are currently using, glad I could help.