Sub Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Range("C14:D20"), Target) Is Nothing Then
Range("C14:D20").Select
Selection.Copy
Range("C31").Select
Selection.PasteSpecial Paste:=xlPasteValuesAndNumberFormats, Operation:= _
xlNone, SkipBlanks:=False, Transpose:=False
Application.CutCopyMode = False
Selection.Sort Key1:=Range("D31"), Order1:=xlDescending, Header:=xlGuess _
, OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal
end if
End Sub
paste the code in the Worksheet module
Bookmarks