I receive a sheet each week with the data in the following format. What I have to do is select rows based on the number in col D then move those rows to a new workbook. So all the rows with 10 in the D col go into a new book, then all the rows with 12 in the D col go into another new book etc. However, next time I receive the data, the numbers in col D might be a different set of numbers. By the way, I use Excel 2003. Any help would be very gratefully received as I know very little re VBA.
A B C D E F
txt txt txt 10 txt num
txt txt txt 10 txt num
txt txt txt 12 txt num
txt txt txt 12 txt num
txt txt txt 20 txt num
txt txt txt 20 txt num
txt txt txt 20 txt num
A B C D E F
txt txt txt 10 txt num
txt txt txt 10 txt num
txt txt txt 12 txt num
txt txt txt 12 txt num
txt txt txt 20 txt num
txt txt txt 20 txt num
txt txt txt 20 txt num