I have to keep track of teacher weekly lesson plans. these are stored in various folders such as
Grade1\2010-11\
Grade2\2010-11\
etc
the names of the file changes from folder to folder but the date the file was last saved should fall between: say Monday - Friday of that week.
the week date is a cell in Excel. so I want to march through the cells to get the date value, then look in the Grade1\2010-11\
folder for any file whose date is in the range.
Example:
B17 cell has the date 8/23/2010
code needs to look in folder Grade1\2010-11\
for a file with a date in the range of 8/23/2010 +6 (or 8-29-10)
If we find a file set cell B18 to a "Y" if not set it to "N".
then repeat for all cells from C17 to AM17 ( this is every week in the school year.
then move to the next cell D17 which has a value of 8-30-10 and find a file between date 8-30-10 +6.
etc
etc
so it should look something like this when done
cell B17 C17 C18 ....
Date 8-23 8-30 9-6 .... <cells have date already
Grade1 Y Y N .... < need "Y" or "N"
Grade2 N Y Y .... < need "Y" or "N"
etc
TIA
DougP
Grade1\2010-11\
Grade2\2010-11\
etc
the names of the file changes from folder to folder but the date the file was last saved should fall between: say Monday - Friday of that week.
the week date is a cell in Excel. so I want to march through the cells to get the date value, then look in the Grade1\2010-11\
folder for any file whose date is in the range.
Example:
B17 cell has the date 8/23/2010
code needs to look in folder Grade1\2010-11\
for a file with a date in the range of 8/23/2010 +6 (or 8-29-10)
If we find a file set cell B18 to a "Y" if not set it to "N".
then repeat for all cells from C17 to AM17 ( this is every week in the school year.
then move to the next cell D17 which has a value of 8-30-10 and find a file between date 8-30-10 +6.
etc
etc
so it should look something like this when done
cell B17 C17 C18 ....
Date 8-23 8-30 9-6 .... <cells have date already
Grade1 Y Y N .... < need "Y" or "N"
Grade2 N Y Y .... < need "Y" or "N"
etc
TIA
DougP