So I have workbooks that have varying numbers of sheets, which are named "S1", "S2", ... etc. until the final sheet "Sn". On each sheet in cell E7 is the named range of cells that need to be copied from that sheet. (i.e. C404:C1657 is in cell E7 on sheet S1, C403:C1587 is in cell E7 on sheet S2, etc.).
What I'd like is VBA code that copies the data from those ranges on each sheet, creates a new sheet called "JMP", and copies those ranges into separate columns on the JMP sheet with the name of the sheet as the first row in each column. So a workbook with 20 sheets will have a JMP sheet created with 20 columns of copied data with "S1", "S2" .... "S20" as the column title in row 1 of those columns.
Thank you!
What I'd like is VBA code that copies the data from those ranges on each sheet, creates a new sheet called "JMP", and copies those ranges into separate columns on the JMP sheet with the name of the sheet as the first row in each column. So a workbook with 20 sheets will have a JMP sheet created with 20 columns of copied data with "S1", "S2" .... "S20" as the column title in row 1 of those columns.
Thank you!