Keep 6 months of dates from Today to (Today + 6 Months)

G

Guest

I would like to create a macro that will make sure the Sheet1 worksheet in
Column (A) Dates always has 6 months of data. The dates are sorted in
ascending
order. There should not be dates less than today's date in Column (A) Dates
field.
When dates are deleted, dates will need to add to the Column (A) Dates to
ensure
there is 6 months of dates in the worksheet.

Listed below is example.

Please help me complete this task.

Thanks,


Example:
Today is: 10/09/07
Column (A) Dates should be: 9/18/07 - 3/18/07
Delete Rows with Dates : 9/18/07 - 10/08/07
Added Rows Dates : 3/19/07 - 4/09/07

Net Results in Column (A) Dates: Today Date - (Today Date + 6 months)
or
Net Results in Column (A) Dates: 10/09/07 - 4/09/07
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top