have adjusted the code for sorting in descending order,
Sub SortMultipleSheets()
Dim ws As Worksheet
Dim lCol As Long
For Each ws In ThisWorkbook.Sheets
With ws
lCol = .Cells(2, Columns.Count).End(xlToLeft).Column
.Range("A3").Resize(18, lCol).Sort Key1:=.Cells(3, lCol), Order1:=xlDescending, Header:=xlNo, _
MatchCase:=False, Orientation:=xlTopToBottom, DataOption1:=xlSortNormal
.Range("A23").Resize(10, lCol).Sort Key1:=.Cells(23, lCol), Order1:=xlDescending, Header:=xlNo, _
MatchCase:=False, Orientation:=xlTopToBottom, DataOption1:=xlSortNormal
End With
Next ws
End Sub
Bookmarks