°ÝÃD:
1. Range("a1:AW" & [a65536].End(xlUp).Row).Sort Key1:=Range("W1"), Order1:=xlAscending <<¦pªG²Ä2¦CªÅ¥Õ«h·|©¹¤U¶]¨ì6¸U¦h¦C¥h
2. .Range(Selection, Selection.End(xlDown)).Select <<«h©¹¤U¶]¨ì100¸U¦æ¥h- Sub ¼Æ¾Ú()
- With Sheets("¤u§@ªí1")
- .Range("$A$1").AutoFilter Field:=21, Criteria1:=" Ãþ§O"
-
- Range("a1:AW" & [a65536].End(xlUp).Row).Sort Key1:=Range("W1"), Order1:=xlAscending
- Range("A1:AW" & [a65536].End(xlUp).Row).Sort Key1:=Range("Y1"), Order1:=xlAscending
- .UsedRange.Columns("U:AD").Copy Sheets("¼Æ¾Ú(±ßÀ\)").[U1]
- .Range("U2").Select
- .Range(Selection, Selection.End(xlToRight)).Select
- .Range(Selection, Selection.End(xlDown)).Select
- Selection.FormulaR1C1 = "0"
- .Range("A1").AutoFilter
- End With
- End Sub
½Æ»s¥N½X |