iT邦幫忙

0

VBA 成績由大排到小

vba
  • 分享至 

  • xImage

想請問這個成績排序怎麼寫
弄出來都是 該成員已存在於此物件模組所繼承的模組中
https://ithelp.ithome.com.tw/upload/images/20220405/2014802155RokSBkDJ.png

小魚 iT邦大師 1 級 ‧ 2022-04-06 12:31:27 檢舉
5000
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

2 個回答

0
海綿寶寶
iT邦大神 1 級 ‧ 2022-04-06 09:50:16

複製排序即可

0
Hey
iT邦新手 3 級 ‧ 2022-04-07 15:19:34

VBA sorting

' clear sort, Sheet1要對名
Worksheets("Sheet1").Sort.SortFields.Clear
' sort A1:A10 有標題 大至小 
Range("A1:A10").SortKey1:=Range("A1"),Header:=xlYes,Order1:=xlDescending

希望幫到你

我要發表回答

立即登入回答