L
Laura
I have some queries on sorting if anyone has some code
that can help would be much appreciated.
1) Don't know if it's possible to get round but I need to
sort by 4 columns. I've got in place code below but really
need futher sorting by Column G also.
Range("A1").Sort _
Key1:=Columns("B"), _
Key2:=Columns("C"), _
Key3:=Columns("F"), _
Order3:=xlDescending, _
Header:=xlYes
2) Column B I would really like to group by categories in
an order defined by me i.e "General" then "Maintenance"
then "Engineering" then ... etc i.e not alphabetically
ascending or descending. The number of rows of data is not
the same with each category. Any new data is always added
to the bottom of the list, but then needs to be sorted
before reporting.
Thanks, Laura
that can help would be much appreciated.
1) Don't know if it's possible to get round but I need to
sort by 4 columns. I've got in place code below but really
need futher sorting by Column G also.
Range("A1").Sort _
Key1:=Columns("B"), _
Key2:=Columns("C"), _
Key3:=Columns("F"), _
Order3:=xlDescending, _
Header:=xlYes
2) Column B I would really like to group by categories in
an order defined by me i.e "General" then "Maintenance"
then "Engineering" then ... etc i.e not alphabetically
ascending or descending. The number of rows of data is not
the same with each category. Any new data is always added
to the bottom of the list, but then needs to be sorted
before reporting.
Thanks, Laura