Hi there, I don't have much experience with macros, but I've recently started using them to process a large amount of data. I'm on (what I hope is) the final step, but I'm stuck, so I need a bit of help. I've done a search and found several similar questions, but unfortunately none exactly like this.
Essentially, I have several hundred spreadsheets in a folder. Each of these has two worksheets (lets call them Sheet X and Sheet Y). What I'd like to do is set up a macro that will automatically import this information into a master file. Each file is for a different day, and I'd like to combine everything so I can look at changes over time.
The details:
Each Sheet X has data entries on several different columns, from Row 1 to Row N. I'd like the master file will have a Sheet X, where all Sheet X (one from each spreadsheet file) are added sequentially. So Day 1 Sheet X is copied in from Rows 1 to N, Day 2 Sheet X is copied in from Rows N+1 to 2N, etc.
The same process happens for Sheet Y.
All files are formatted identically, and are in the same folder. I'm using Excel 2007, if that matters.
Note, Sheet X and Sheet Y are not linked to each other, so it would be fine for them to be in two different files. The important thing is that all Sheet X are combined into a single master Sheet X, and all Sheet Y are combined into a single master Sheet Y.
Thanks so much!!!
Essentially, I have several hundred spreadsheets in a folder. Each of these has two worksheets (lets call them Sheet X and Sheet Y). What I'd like to do is set up a macro that will automatically import this information into a master file. Each file is for a different day, and I'd like to combine everything so I can look at changes over time.
The details:
Each Sheet X has data entries on several different columns, from Row 1 to Row N. I'd like the master file will have a Sheet X, where all Sheet X (one from each spreadsheet file) are added sequentially. So Day 1 Sheet X is copied in from Rows 1 to N, Day 2 Sheet X is copied in from Rows N+1 to 2N, etc.
The same process happens for Sheet Y.
All files are formatted identically, and are in the same folder. I'm using Excel 2007, if that matters.
Note, Sheet X and Sheet Y are not linked to each other, so it would be fine for them to be in two different files. The important thing is that all Sheet X are combined into a single master Sheet X, and all Sheet Y are combined into a single master Sheet Y.
Thanks so much!!!