Welcome back
I just need to know how to incorporate the VBA loop into my script, which I have attached.