- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¦^´_ 7# luffyzoro - Sub Ex()
- Dim AR(), AR1(), i As Integer, N As Integer, Sh As Worksheet
- ReDim AR(1 To Sheets.Count) '³]©w°}¦Cºû¼Æ( 1 to ¤u§@ªíÁ`¼Æ)
- ReDim AR1(1 To Sheets.Count) '³]©w°}¦Cºû¼Æ( 1 to ¤u§@ªíÁ`¼Æ)
- For i = 1 To Sheets.Count
- AR(i) = Val(Sheets(i).[b2]) 'Sheets(i).[b2]¼Æ¦r¸m¤J°}¦C¤¤
- Next
- For i = 1 To Sheets.Count
- AR1(i) = Application.WorksheetFunction.Small(AR, i) '°}¦C±Æ§Ç¥Ñ¤p¨ì¤j
- Next
- For Each Sh In Sheets
- N = Application.Match(Val(Sh.[b2]), AR1, 0) '¨ú±o Sh.[b2] ¼ÆÈ©óAR1°}¦C¤¤±Æ§Çªº¦ì¸m
- Sh.Move Sheets(N) '²¾°ÊSh©óSheets(N)¤§«e
- Next
- End Sub
½Æ»s¥N½X |
|