Hi all. What is the simple way of telling a macro to split data at the point of a name change vs a row range. So instead of saying this
Rows("1:121").Select
Selection.Copy
say when name changes select
selection copy
Both ABC would be on the same sheet
Both XYZ would be on the same sheet
Name=ABC Fast Foods Portland Customer Group
Name=ABC Fast Foods Maine Customer Group
Name=XYZ Health Foods Chicago Customer Group
Name=XYZ Health Foods Delaware Customer Group
As always
Thank you
Rows("1:121").Select
Selection.Copy
say when name changes select
selection copy
Both ABC would be on the same sheet
Both XYZ would be on the same sheet
Name=ABC Fast Foods Portland Customer Group
Name=ABC Fast Foods Maine Customer Group
Name=XYZ Health Foods Chicago Customer Group
Name=XYZ Health Foods Delaware Customer Group
As always
Thank you