余詠詩 2022-8-24 18:42
Range("A1").CurrentRegion.Sort key1:=Range("E1"), key2:=Range("C1"), Header:=xlYes
以上這個寫法是「E欄」和「C欄」都是 A到Z,如果想「E欄」的排序次序是 "約翰摩亞" "方嘉柏" "告東尼" 應該點寫
余詠詩 2022-9-27 21:11
[quote]原帖由 [i]alee001[/i] 於 2022-9-8 12:38 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=551894536&ptid=30733650][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]
如果排序中文一定筆數行先,除非內設自訂排序要求… [/quote]
對,我唔係按筆劃,我係按自訂清單
第二個痴線佬 2022-10-21 00:48
我覺得你可以直接開多個column, 第二張sheet起個表排序,
再去番第一個表用個名index match番個排序, then sort by sequence in this column
[[i] 本帖最後由 第二個痴線佬 於 2022-10-21 00:49 編輯 [/i]]
余詠詩 2022-10-21 15:47
[quote]原帖由 [i]第二個痴線佬[/i] 於 2022-10-21 00:48 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=553062202&ptid=30733650][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]
我覺得你可以直接開多個column, 第二張sheet起個表排序,
再去番第一個表用個名index match番個排序, then sort by sequence in this column [/quote]
如果開多一欄我會選擇錄一個新的巨集,因自訂清單我唔識修改到最簡短
alee001 2022-10-21 16:03
[quote]原帖由 [i]余詠詩[/i] 於 2022-10-21 15:47 發表 [url=https://computer.discuss.com.hk/redirect.php?goto=findpost&pid=553077579&ptid=30733650][img]https://computer.discuss.com.hk/images/common/back.gif[/img][/url]
如果開多一欄我會選擇錄一個新的巨集,因自訂清單我唔識修改到最簡短 [/quote]
畀我做就寧願加個col用代號給中文名,再sort代號最簡單。