You might find an easier way to find the tourney #. If I forgot previously, I'd start querying with the last number I used plus a few depending on how many days it's been.
Now, I have that info on the last tourney date that I keep in a file for Mini-Matches and my macros have the tourney #.
"See what will happen if you don't stop biting your fingernails?" - Will Rogers (1879 - 1935), to his niece on seeing the Venus de Milo