Ok, I took this opportunity to learn a bit of VBA. I'm sure the code could be tighter (i.e. shorter and more efficient), but this seems to work.
Again, the dates are in Column A, with the start and end date of the range to be selected in C1 and C2.
Here's a file with it in - I've run it on the 'CF done' sheet, but not on the 'CF not done' sheet (yes, I'm very imaginative with my sheet names ).
CF weekends with macro.xls
The file is in 2003 (.xls) format, as that's what I've got at work. You should be able to re-save it as a macro-enabled 2007/10/13 file (.xlsm) without anything changing.
Hopefully you can figure out how to incorporate the above into your already-existing macros (which I'm sure are a lot more complicated than this!).
Good luck.
Regards,
Aardigspook
If your problem is solved, please go to 'Thread Tools' on your first post and 'Mark Thread as Solved'.
You don't need to give me rep if I helped, but thanks are appreciated.
Bookmarks