- 帖子
- 5923
- 主題
- 13
- 精華
- 1
- 積分
- 5986
- 點名
- 0
- 作業系統
- win10
- 軟體版本
- Office 2010
- 閱讀權限
- 150
- 性別
- 男
- 來自
- 台灣基隆
- 註冊時間
- 2010-5-1
- 最後登錄
- 2022-1-23
        
|
4#
發表於 2016-10-3 05:53
| 只看該作者
回復 3# starbox520
試試看2003錄製的- Option Explicit
- Sub Macro1()
- '
- ' Macro1 Macro
- ' hsu 在 2016/10/3 錄製的巨集
- '
- '
- Range("A1:H33").Sort Key1:=Range("E2"), Order1:=xlAscending, Key2:=Range( _
- "G2"), Order2:=xlAscending, Key3:=Range("F2"), Order3:=xlAscending, _
- Header:=xlGuess, OrderCustom:=1, MatchCase:=False, Orientation:= _
- xlTopToBottom, SortMethod:=xlStroke, DataOption1:=xlSortNormal, _
- DataOption2:=xlSortNormal, DataOption3:=xlSortNormal
-
- End Sub
複製代碼 |
|