I've been having trouble logging in, so sorry for not responding sooner.
I'll place tags around code. But I also forgot to mention, that when the 7 days are totaled, it means 7 different days. If there are 3 records dated 5/1/10, they count as one day. So the code needs to cover 7 different consecutive days. The previous excel worksheet uploaded should be self-explanatory. Now for the code:
The above was my recording the macro on one worksheet. I don't know how to make it work on all worksheets. Also, can it be inserted in the code you originally sent?
Thank you.
Bookmarks