I have a for loop and it is stopping the loop early even though it shouldn't be.
For lnCFCustomCounter = 1 to UBound (vaWPTask)
Next lnCFCustomCounter
When UBound is set to 118 and lnCFCustomCounter gets to 97 it cuts out of the loop and doesnt finish to 118. Any ideas?