Sortering: Tomme rækker nederst?
Hej Venner!Følgende makro sorterer området med de tomme rækker øverst. De skal stå nederst i den stigende sortering... Hvad skal rettes i makroen? :o)
På forhånd tak!
Sub OpdaterListe()
Application.ScreenUpdating = False
Range("I5:N1004").Select
Selection.Copy
Range("B5").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Application.CutCopyMode = False
Selection.Sort Key1:=Range("B5"), Order1:=xlAscending, Header:=xlNo, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal
Range("B2").Select
Application.ScreenUpdating = True
End Sub
