romeerome368
Programmer
Hello Everyone,
I am trying to create some VBA code to help create and ending date for my records. I have start dates, and the end date should be the next start date - one day.
For example:
Start Date: 2/25/2011
Next Start Date: 4/30/2011
End Date for 2/25/2011 Start date should be: 4/29/2011
I know that I need to create a For Each for my recordset, but I am having trouble with the syntax for the For Each loop.
Any help would be greatly appreciated.
I am trying to create some VBA code to help create and ending date for my records. I have start dates, and the end date should be the next start date - one day.
For example:
Start Date: 2/25/2011
Next Start Date: 4/30/2011
End Date for 2/25/2011 Start date should be: 4/29/2011
I know that I need to create a For Each for my recordset, but I am having trouble with the syntax for the For Each loop.
Any help would be greatly appreciated.