Travis, thank you for the assistance on this. It worked as planned.
Now I only have one other question.
Is there a way to simulate a button click from within this same lines of code?
I have tried the doClick command it errors with the information the doClick is not a valid statement or something like that.