Hello
Right now I have some code that iterates through the cells of a column to find it's cell value. Then, based on the name that is in the cell, it creates a sheet by that name (if the name already exists, it jumps to the next cell).
After all the sheets are created, it will then iterate through the cells again and look for the name. Based on the cell contents (a name), it will copy the row of data to the worksheet for that person.
All this works great; without a hitch, however, it takes a long time to run (as you might imagine).
Is there a way for excel to find "All occurrences" of a person's name in a specified range, the associated row number and then just copy all that persons data all at once? Im thinking this would speed things up a bit. Right now it takes approximately 2 minutes to go through 125 records.
Any suggestions on this?
I will post the code I have if necessary
Thank you
Terry
Right now I have some code that iterates through the cells of a column to find it's cell value. Then, based on the name that is in the cell, it creates a sheet by that name (if the name already exists, it jumps to the next cell).
After all the sheets are created, it will then iterate through the cells again and look for the name. Based on the cell contents (a name), it will copy the row of data to the worksheet for that person.
All this works great; without a hitch, however, it takes a long time to run (as you might imagine).
Is there a way for excel to find "All occurrences" of a person's name in a specified range, the associated row number and then just copy all that persons data all at once? Im thinking this would speed things up a bit. Right now it takes approximately 2 minutes to go through 125 records.
Any suggestions on this?
I will post the code I have if necessary
Thank you
Terry