RicksAtWork
Programmer
Using the following code I am filtering a worksheet.
Set individuals = UniqueItemCollection(Range("Data_Individuals"))
For Each individual In individuals
Selection.AutoFilter
Selection.AutoFilter Field:=1, Criteria1:=CStr(individual)
//Code here
Next individual
This works very well.
This data now needs to be aggregated i.e. there may be 5 rows for each individual - I want to merge this into one row - without using a pivot table.
I want to use VBA.
How should I approach this - note that some columns are text based i.e. Country = Japan others are numerical i.e. Score =10
Set individuals = UniqueItemCollection(Range("Data_Individuals"))
For Each individual In individuals
Selection.AutoFilter
Selection.AutoFilter Field:=1, Criteria1:=CStr(individual)
//Code here
Next individual
This works very well.
This data now needs to be aggregated i.e. there may be 5 rows for each individual - I want to merge this into one row - without using a pivot table.
I want to use VBA.
How should I approach this - note that some columns are text based i.e. Country = Japan others are numerical i.e. Score =10