I have a spreadsheet that has 10 worksheets (tabs). Seven of these sheets are data repositories that are updated manually. One worksheet will be a summary page that will have all information for these 7 sheets (sans header). As a note, the first two sheets grab certain summary information. Therefore, I need to specifically create code that search the abovementioned 7 sheets.
My difficulty is that while the number of columns is constant (9; A1:I1), the number of rows varies from sheet to sheet. In addition, as data is updated on these sheets, their lengths can vary. Thus, I need something dynamic that will grab all data in the range and stop when it encounters blank cells.
Here is how I imagine the flow of the code:
1. Activate sheet1(first data sheet)
2. Copy range of data in sheet1
3. Paste sheet1 range to summary sheet (starts at "A2"
4. Activate sheet2
5. Copy range of data in sheet2
6. Paste sheet2 range to summary sheet - will start below last entry from sheet1
7. Continue through sheet7
I have looked into a couple of options (namely creating an array and using UsedRange), but have been unsuccessful. Any advice/thoughts would be much appreciated.
Although there are similar requests, I have not found one that I was able to modify to my needs. If there is an applicable thread I missed, please let me know. Thank you, in advance.
My difficulty is that while the number of columns is constant (9; A1:I1), the number of rows varies from sheet to sheet. In addition, as data is updated on these sheets, their lengths can vary. Thus, I need something dynamic that will grab all data in the range and stop when it encounters blank cells.
Here is how I imagine the flow of the code:
1. Activate sheet1(first data sheet)
2. Copy range of data in sheet1
3. Paste sheet1 range to summary sheet (starts at "A2"
4. Activate sheet2
5. Copy range of data in sheet2
6. Paste sheet2 range to summary sheet - will start below last entry from sheet1
7. Continue through sheet7
I have looked into a couple of options (namely creating an array and using UsedRange), but have been unsuccessful. Any advice/thoughts would be much appreciated.
Although there are similar requests, I have not found one that I was able to modify to my needs. If there is an applicable thread I missed, please let me know. Thank you, in advance.