I have some code that is creating Outlook emails. Due to the large size of the process, I want to split this out into a few steps. My goal was to run the following:
For i = 0 To rs1.recordcount = 50
<do stuff>
Next i
I tried with a Do Until rs1.recordcount = 50 as well, but both of these options just loop until the process times out. How can I tell it to stop at a certain record number?
For i = 0 To rs1.recordcount = 50
<do stuff>
Next i
I tried with a Do Until rs1.recordcount = 50 as well, but both of these options just loop until the process times out. How can I tell it to stop at a certain record number?