ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

¨Ï¥ÎVBA¨D¸ê®Æ²Î­p¿é¥X

¦A¦¸·PÁª©¥»ªº±Ð¾É,°ò¥»¥\­n¦h¥[½m²ß,¤~¯à§ó¶i¨B

TOP

¦^´_ 4# Hsieh
Hsieh «e½ú±z¦n

¨Ï¥Î«áµo²{¥u­n¡ª­û¤u½s¸¹¡ª¬Û¦P¡A«h²Î­p¬°¤@µ§¸ê®Æ¡A¤£·|¤ñ¸û¡ª¦a°Ï¡ª¤Î¡ª©m¦W¡ª¤GÄæ¸ê®Æ¡C
»Ý¨D¬O¡ª¦a°Ï¡B©m¦W¤Î­û¤u½s¸¹¡ªµ¥¤TÄæ¸ê®Æ¬Û¦P²Î­p¸ê®Æ¡C
Àµ½Ð«ü¾É
ÁÂÁÂ

H2_²Î­p.rar (15.23 KB)
100 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

¦^´_ 12# b9208
  1. Private Sub CommandButton1_Click()
  2. Set d = CreateObject("Scripting.Dictionary")
  3. Set d1 = CreateObject("Scripting.Dictionary")
  4. Set d2 = CreateObject("Scripting.Dictionary")
  5. With Sheet3
  6.    For Each a In .Range(.[B6], .[B65536].End(xlUp))
  7.       ar = Array(a, a.Offset(, 2), a.Offset(, 3), "")
  8.      m = Join(ar)
  9.       d(m) = d(m) + 1 '3Äæ²Î­p
  10.       ar(3) = d(m)
  11.       d1(m) = ar
  12.       d2(a.Value) = d2(a.Value) + 1 '¦a°Ï²Î­p
  13.     Next
  14. End With
  15. With Sheets("²Î­pªí")
  16. .[B7:F65536] = ""
  17. .[B7].Resize(d1.Count, 4) = Application.Transpose(Application.Transpose(d1.items))
  18. .[B6].Resize(d1.Count + 1, 4).Sort key1:=.[B7], key2:=.[C7], header:=xlYes
  19. .[G7:H65536] = ""
  20. .[G7].Resize(d2.Count, 1) = Application.Transpose(d2.keys)
  21. .[H7].Resize(d2.Count, 1) = Application.Transpose(d2.items)
  22. .[G6].Resize(d2.Count + 1, 2).Sort key1:=.[G7], header:=xlYes
  23. .Select
  24. End With
  25. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 13# Hsieh
ÁÂÁª©¥D
°õ¦æOK
100 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

­è¦n»Ý­n«ç¼Ë²Î­p¸ê®Æªí¼Æ¦r

TOP

¦^´_ 13# Hsieh
½Ð±ÐHsieh¤j¡A±z¨º Sheet4("¼Ï¯Ã¤ÀªR")³¡¤À¤§¤º®e¡A
¦p¦ó¥H VBA ¨Ó®i²{ (¹ê²{) ©O¡H ÁÂÁ±z¡I

TOP

¦^´_ 16# c_c_lai
¥i§Q¥Î¿ý»s¥¨¶°¨Ó¨ú±oVBA¥N½X
³o¼Ë¥i¦P®É¼ô±xEXCELªº°ò¥»¾Þ§@
±z¤£§«¥ý¸Õ¸Õ¬Ý
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

½Ð°Ý­n¦p¦ó¨Ï¥Î¼Ï¯Ã³æ¯Â¥u°w¹ïÁ`­p°µª½±ø¹Ï©O?
²{¦b³£·|¤@¨Ö§â²Ó¶µ¦C¨ìª½±ø¹Ï¤F
·PÁÂ

TOP

ÁÂÁ±zªº¤À¨É¡A³o¥i¥H·í§@¾Ç²ßªº¸gÅç¡I

TOP

        ÀR«ä¦Û¦b : ­n¤ñ½Ö§ó¨ü½Ö¡D¤£­n¤ñ½Ö§ó©È½Ö¡C
ªð¦^¦Cªí ¤W¤@¥DÃD