I need to write a macro which will reformat about 650 rows of data into 41 separate worksheets. Here's my idea:
(1) Open workbook/worksheet which contains only worksheet template. Copy this template.
(2) Open workbook which has data.
(3) Copy the first set of data (actually 14 rows) and reformat.
(4) Set the name of the worksheet to a field in the row.
(5) Close new worksheet
(6) Loop to next set of data.
(7) There are 41 sets of data in the data worksheet.
Obviously, the Open in step (2) is not in the real loop.
Questions: (1) How do I have multiple worksheets open at the same time?
(2) How do I keep them separate, i.e. "Cells(3,2) = Cells(5,6)" would copy the data on the same worksheet? (3) The reason for the "template" is that there are formulas etc. for derived values once the data is moved to the new worksheet. Is there a better way to do this?
TIA