M
malycom
Hi everyone
I run a report that creates a 7 coumn spreadsheet analysing staff time
through a week.
The last column (G) uses a staff code and is sorted in ascending order.
What I would like to do is to run a macro or program that will go through
the spreadsheet and create a new worksheet for each Staff code, naming the
worksheet exactly the same, and inserting all the rows of data belonging to
each staff code into its individual worksheet.
For instance, if one of the Staff codes in the original pages is TW and
there are 9 rows of data for TW, I would like a worksheet inserted called TW
and then all those 9 rows of data copied into it from say Row B. In the main
sheet there are a load of heading in row A which ideally could also be copied
into Row A of each worksheet.
As much detail as possible would be really appreciated here as I don't have
a clue how to go about it.
Thanks in advance
Malcolm Davzidson
I run a report that creates a 7 coumn spreadsheet analysing staff time
through a week.
The last column (G) uses a staff code and is sorted in ascending order.
What I would like to do is to run a macro or program that will go through
the spreadsheet and create a new worksheet for each Staff code, naming the
worksheet exactly the same, and inserting all the rows of data belonging to
each staff code into its individual worksheet.
For instance, if one of the Staff codes in the original pages is TW and
there are 9 rows of data for TW, I would like a worksheet inserted called TW
and then all those 9 rows of data copied into it from say Row B. In the main
sheet there are a load of heading in row A which ideally could also be copied
into Row A of each worksheet.
As much detail as possible would be really appreciated here as I don't have
a clue how to go about it.
Thanks in advance
Malcolm Davzidson