You could be missing part of the code, what is rownumber?
try this
Dim LstRow As Long, Rng As Range, Strng As Range
Set Strng = Range("A3")
LstRow = Cells(Rows.Count, "A").End(xlUp).Row
Set Rng = Range(Cells(3, 1), Cells(LstRow, 13))
Strng.AutoFilter Field:=1, Criteria1:=">=2/4/2011", Operator:=xlAnd
Rng.Sort Key1:=Range("M3"), Order1:=xlAscending, Header:= _
xlGuess, OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal
I am sure you can use rng in place of strng as well
Bookmarks