§Ú¦bOffice 2016¥i¥H¥¿±`°õ¦æ¥H¤Uµ{¦¡½X¡A¦ý¦bOffice 2010´N¥X²{³o¤@¦æ
[AF7].Resize(d.Count, 1) = Application.Transpose(d.items)
«¬ºA¤£²Å¦X¡A¿ù»~13ªº°»¿ù
Àˬdªºµ²ªG¬O¦]¬°T.Offset(, -5)³o¤@Äæ(¯Â¤å¦r)¦³ªÅ¥ÕªºÀx¦s®æ¡An«ç»ò¼Ë¦bOffice 2010Á׶}³o¼Ëªº¿ù»~?- Set d = CreateObject("Scripting.Dictionary")
- For Each T In Range([T7], [T300].End(xlUp))
- If d(T.Value) = "" Then
- d(T.Value) = T.Offset(, -5) & " " & T.Offset(, -4) & " " & T.Offset(, -3)
- Else
- d(T.Value) = d(T.Value) & ", " & T.Offset(, -5) & " " & T.Offset(, -4) & " " & T.Offset(, -3)
- End If
- Next
- [AF7].Resize(d.Count, 1) = Application.Transpose(d.items)
- Set d = Nothing
½Æ»s¥N½X |