Hi everyone.
I could use some help. I have about 600 rows of data in 4 columns. When printed, it prints on 6 pages. I would like a macro that could take the data from all the pages and put them on one page.
For example, my data is in columns A,B,C and D - Rows 1 to 600. I would like to take page 2 for instance, Columns A,B,C and D - Rows 101 to 200 and have them put on page 1 in columns E,F,G and H - Rows 1 to 100
Page 3, Columns A,B,C and D - Rows 201 to 300 would be moved to page 1 Columns I,J,K and L - Rows 1 to 100 and so on.
I could just cut and paste, but the tricky part is that the list is ever changing. If I added another entry, I would like it to be alphabetized and put in the correct Row with its corresponding data in the adjacent Columns.
If I manually add it to where it should be, it will throw off my page setup and not print correctly. So I need to keep the same number of Rows on the page and have everything shift 1 as I add an entry.
The other tough task is to have a cell where I could add the new data and have the macro put it where it needs to be, adjust all the other Rows to keep my page layout.
For instance,
A1 is Tom. B1 is 45. C1 is 63 and D1 is 92
A2 is Bob, B2 is 59, C2 is 95 and D2 is 108
Column A would be alphabetized, and only fitting 100 Rows on the page, I would not have A101, It would be E1 for the 101st entry and I1 for the 201st entry.
So if a new entry went to A4, that would mean that everything after is moved down (or over) 1 Row. A100 would become E1 because there are only 100 Rows on the page to print correctly and E100 would become I1 and so forth.
I can adjust the font and Column width to fit all the data on one page.
I know I am asking a lot, and if it is too much, just tell me to take and hike and I will understand.
Mug
Bookmarks