I'm trying to split one spreadsheet into several ones. The splitting has to be done when a certain value is found. I need to move all rows before the given value to a different file and so on till the end of the file. I hope I've been clear enough. Thanks for your help.
You have to loop through all the rows. As you loop, mark the starting point and then when you find that flag has been found where new data starts, mark one row less than current spot as end point Now copy the rows between start point and end point add it to new worksheet make the last end point as new start point.
Solved by rizvisa1