Hi there
I'm a relative newcomer to VBA Excel. I wondered if anyone knew how to do the following:
I have several sheets, numbered 1.xls and 2.xls and 3.xls etc which each contain the same field data, data contained in cells B10:O29. Basically, cells B10:O10 contains the data of 1 record, B11:O11 another, etc.
I need to write a VBA script which transfers the data on cell range B10:O29 on 1.xls to a new workbook (let's call it collated.xls) and then transfers the data on cells B10:O29 on 2.xls to follow on, on the same workbook, cells B10:O29 on 3.xls to follow on, etc etc.
As an added bonus, if I could omit copying across any blank lines (as in whole lines from column B to O) then that would be great, although not essential.
Any help would be appreciated.
Thanks
Tim
I'm a relative newcomer to VBA Excel. I wondered if anyone knew how to do the following:
I have several sheets, numbered 1.xls and 2.xls and 3.xls etc which each contain the same field data, data contained in cells B10:O29. Basically, cells B10:O10 contains the data of 1 record, B11:O11 another, etc.
I need to write a VBA script which transfers the data on cell range B10:O29 on 1.xls to a new workbook (let's call it collated.xls) and then transfers the data on cells B10:O29 on 2.xls to follow on, on the same workbook, cells B10:O29 on 3.xls to follow on, etc etc.
As an added bonus, if I could omit copying across any blank lines (as in whole lines from column B to O) then that would be great, although not essential.
Any help would be appreciated.
Thanks
Tim