G
GUS
I want a macro to increase a date given from a text box
by month up to 20 times and put the last day of the date at cells.
For example txt1.value = 30/06/03
then a loop must be fired
for da=1 to 20
cells(da,1).value= ?????? (last day of then next month 31/07/2003)
etc
next da
and change also the year if the code pass the last day 31/12
Thanks in advance
by month up to 20 times and put the last day of the date at cells.
For example txt1.value = 30/06/03
then a loop must be fired
for da=1 to 20
cells(da,1).value= ?????? (last day of then next month 31/07/2003)
etc
next da
and change also the year if the code pass the last day 31/12
Thanks in advance