- 帖子
- 472
- 主題
- 5
- 精華
- 0
- 積分
- 485
- 點名
- 0
- 作業系統
- Windows
- 軟體版本
- MS Office
- 閱讀權限
- 100
- 性別
- 男
- 來自
- 香港
- 註冊時間
- 2010-7-4
- 最後登錄
- 2014-12-28

|
2#
發表於 2011-12-5 22:08
| 只看該作者
請問一個排序問題,左邊資料庫有AA/BB/CC/DD左邊一欄帶出日期,左邊二欄帶出數量
如果資料打散後,如何排序 ...
tonycho33 發表於 2011-12-5 12:09  - range("C3:E15").Select
- Selection.Sort Key1:=Range("C3"), Order1:=xlAscending, Key2:=Range("D3") _
- , Order2:=xlAscending, Header:=xlGuess, OrderCustom:=1, MatchCase:= _
- False, Orientation:=xlTopToBottom, SortMethod:=xlStroke, DataOption1:= _
- xlSortNormal, DataOption2:=xlSortNormal
複製代碼 錄製可得,多用錄製 |
|