Hello,
I’m hoping someone can help me with a sort issue I am having. I have several environments in which I am trying to track taskings for and in doing so I need to print out what is currently going on within all of them. I do have tasking that spawns child tasking which introduces a Parent Child relationship within my spreadsheet. My customers want me to sort this report by environment which is my first field for the sort. Now I need to sort and hopefully group the parent child taskings together. I am using the below sort which as you can see from the spreadsheet below is not grouping my parent child taskings. Can you help me get this data to sort on Environment, Parent ID, and Record ID, enforcing a way to group the Parent ID, and Record ID. Ideally, it would be nice to have the Record ID of the parent tasking first then any subsequent children report after (as it is doing for 2880750).
Note Parent ID 2880735 which has spawned Record ID 2881806. I am unable to get these Parent Child request to group together.
Any help would be greatly appreciated.
Columns("A:J").Select
Selection.Sort Key1:=Range("A2"), Order1:=xlAscending, Key2:=Range("E2") _
, Order2:=xlAscending, Key3:=Range("F2"), Order3:=xlAscending, Header:= _
xlGuess, OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal, DataOption2:=xlSortNormal, DataOption3:= _
xlSortNormal
Bookmarks