Ok I figured out the Multiple Sorting Marco I wanted by searching another post on the site. I love this place!
I have a Validation List on the top of my sheet that when modified it runs this script:
Private Sub Worksheet_Change(ByVal Target As Range)
'Check that cell changed was in col C. If not, exit.
If Target.Column = 3 Then
Dim LR As Long
LR = Range("A" & Rows.Count).End(xlUp).Row
Range("A2:H" & LR).Sort Key1:=Range("H2"), Order1:=xlAscending, Key2:=Range("F2"), _
Order2:=xlDescending, Key3:=Range("G2"), Order3:=xlDescending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal, DataOption2:=xlSortNormal, DataOption3:=xlSortNormal
End If
End Sub
The is as follows:
Sort Ascending Column H at the header in Row 2 (Percentage)
Sort Descending Column F at the header in Row 2 (Onhand)
Sort Descending Column G at the header in Row 2 (Used)
I also set up some conditional formatting on my Percentage column that helps me determine under used parts.
Bookmarks