- ©«¤l
- 163
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 170
- ÂI¦W
- 0
- §@·~¨t²Î
- Window 7
- ³nÅ骩¥»
- Office 2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-9-5
- ³Ì«áµn¿ý
- 2022-7-20
|
¦^´_ 17# »a³·
½Ð°Ñ¦Ò- Sub test()
- arr = Array("L20", "L10", "L30")
- Application.ScreenUpdating = False
- Application.AddCustomList listArray:=arr
- n = Application.CustomListCount
- er = [C65536].End(3).Row
- For r = 2 To er
- Cells(r, 5).Value = Split(Cells(r, 3).Value, "[")(0)
- Cells(r, 6).Value = Split(Split(Cells(r, 3).Value, "/")(0), "[")(1)
- Cells(r, 7).Value = Split(Split(Cells(r, 3).Value, "/")(1), "]")(0)
- Next r
- Range("A2:G" & er).Sort Key1:=[E2], OrderCustom:=n + 1, key2:=[F2], key3:=[G2]
- Application.DeleteCustomList n
- Columns("E:G").Delete
- Application.ScreenUpdating = True
- End Sub
½Æ»s¥N½X |
|