Hello,
I am looking for help on a code to loop through sheets of data (the sheet names are dates listed in the column below labeled "Sheet Name".) I would like loop through each sheet that is a date and paste cell "D8" into column E in my table below for each corresponding date that has a Life of 5 in column D. For Each Date that has a Life of 7 I would like data from the sheets to be pasted in from cell "E8" into column E of the table below.
I would like this process above repeated above for column F of the table below, which would simply paste in data from "D9" and "E9" for each resepective sheet date and Life of 5 and 7. Any takers on this challenge would be appreciated!
[TABLE="class: outer_border, width: 500"]
<TBODY>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]AA[/TD]
[TD]BB[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Path[/TD]
[TD]Workbook[/TD]
[TD]Sheet Name[/TD]
[TD]Life[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]G:\Doc Files\Spread\[/TD]
[TD]Spread2011.xls[/TD]
[TD]1/7/2011[/TD]
[TD]5[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]G:\Doc Files\Spread\[/TD]
[TD]Spread2011.xls[/TD]
[TD]1/14/2011[/TD]
[TD]5[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]G:\Doc Files\Spread\[/TD]
[TD]Spread2011.xls[/TD]
[TD]1/21/2011[/TD]
[TD]5[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]G:\Doc Files\Spread\[/TD]
[TD]Spread2011.xls[/TD]
[TD]1/28/2011[/TD]
[TD]5[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]G:\Doc Files\Spread\[/TD]
[TD]Spread2011.xls[/TD]
[TD]1/7/2011[/TD]
[TD]7[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]G:\Doc Files\Spread\[/TD]
[TD]Spread2011.xls[/TD]
[TD]1/14/2011[/TD]
[TD]7[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</TBODY>[/TABLE]
I am looking for help on a code to loop through sheets of data (the sheet names are dates listed in the column below labeled "Sheet Name".) I would like loop through each sheet that is a date and paste cell "D8" into column E in my table below for each corresponding date that has a Life of 5 in column D. For Each Date that has a Life of 7 I would like data from the sheets to be pasted in from cell "E8" into column E of the table below.
I would like this process above repeated above for column F of the table below, which would simply paste in data from "D9" and "E9" for each resepective sheet date and Life of 5 and 7. Any takers on this challenge would be appreciated!
[TABLE="class: outer_border, width: 500"]
<TBODY>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]AA[/TD]
[TD]BB[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Path[/TD]
[TD]Workbook[/TD]
[TD]Sheet Name[/TD]
[TD]Life[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]G:\Doc Files\Spread\[/TD]
[TD]Spread2011.xls[/TD]
[TD]1/7/2011[/TD]
[TD]5[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]G:\Doc Files\Spread\[/TD]
[TD]Spread2011.xls[/TD]
[TD]1/14/2011[/TD]
[TD]5[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]G:\Doc Files\Spread\[/TD]
[TD]Spread2011.xls[/TD]
[TD]1/21/2011[/TD]
[TD]5[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]G:\Doc Files\Spread\[/TD]
[TD]Spread2011.xls[/TD]
[TD]1/28/2011[/TD]
[TD]5[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]G:\Doc Files\Spread\[/TD]
[TD]Spread2011.xls[/TD]
[TD]1/7/2011[/TD]
[TD]7[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]G:\Doc Files\Spread\[/TD]
[TD]Spread2011.xls[/TD]
[TD]1/14/2011[/TD]
[TD]7[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</TBODY>[/TABLE]