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

¸ê®Æ¤ñ¸û±Æ§Ç¤ÀÃþ

¸ê®Æ¤ñ¸û±Æ§Ç¤ÀÃþ

¦U¦ì¦Ñ®v¦n
¦³¨â²Õ¸ê®Æ,
·Q¨Ì½s¸¹¥Ñ¤j¦Ü¤p±Æ§Ç,·í½s¸¹¬Û¦P«h¨Ã¦C,­Y½s¸¹¤£¦P«h¤À¦C
¨Ã±N¸Ó½s¸¹«á¸ê®Æ¨Ì¯Å¶Z¦X­p,¨Ã­pºâµ§¼Æ
¦pªþ¥ó
¤£ª¾¦p¦ó¥Îvb³B²z
ÁٷниѴb
ÁÂÁÂ

060316-°ÝÃD.jpg (226.42 KB)

060316-°ÝÃD.jpg

060316-¸ê®Æ±Æ§Ç¤ñ¸û¤ñ¹ï-test1.rar (3.86 KB)

¦^´_ 1# oak0723-1
¨S¦³Áý¤Ó¦h¸ê®Æ¨ÓDebug¡A¤£ª¾¬O§_Âæ³Bug¡C
ÁÙ¦³ªþÀɥα¼¤Ó¦hÅܼƤ~¯à³º¥\¡A¬Ý¬Ý¨ä¥L¥ý¶i¬O§_¦³§ó¨Îªº¼gªk¡C
060316-¸ê®Æ±Æ§Ç¤ñ¸û¤ñ¹ï-test2.rar (20.88 KB)

TOP

¬y¤ô±b´«ºâ¬°¤ÀÃþ±b

¦U¦ì¦Ñ®v¦n
¦³¤@¬y¤ô±b·QÂà´«¬°¤ÀÃþ±b,¨Ã°Ï¤À¯Å¶Z(¦pªþ¥ó)
§Æ±æ¦³¦Ñ®v¤£§[Ä@·NÀ°¦£¤p§Ì
·P®¦
ÁÂÁÂ

°ÝÃD.jpg (232.27 KB)

°ÝÃD.jpg

060318-¬y¤ô±b&¤ÀÃþ±b-test1.rar (8.38 KB)

TOP

ÁÂÁÂ
kubi¦Ñ®vÄ@·NÀ°¦£¤p²Ä
³o­Óvb½T¹ê¬O¤p§Ì©Ò¶·
ÁÂÁÂ
¤p§Ì¦³¥t¤@­Ó°ÝÃD¬O¬y¤ô±b´«ºâ¬°¤ÀÃþ±bhttp://forum.twbts.com/viewthread.php?tid=19437&extra=
­Ykubi¦Ñ®v¤£¶û±óªº¸Ü
¯àÄ~ÄòÀ°¦£¤p§Ì
ÁÂÁÂ
·P®¦

TOP

³nµÛ³°---§Q¥ÎHÄæ±Æ§Ç:
¸ê®Æ±Æ§Ç¤ñ¸û¤ñ¹ï_V1.rar (20.89 KB)

TOP

ÁÂÁ­㴣³¡ªL¦Ñ®v¤£§[À°¦£
¤]§Æ±æ¦ÑÀ°¦£¸Ñ¤p§Ì¤@­Ó°ÝÃD¡u¬y¤ô±b´«ºâ¬°¤ÀÃþ±b¡vhttp://forum.twbts.com/viewthread.php?tid=19437&extra=
ÁÂÁÂ

TOP

¦^´_ 1# oak0723-1
½Ð±Ðª©¤j¡G
¶K¹Ï½d¥»¤ºªº¯Å¶Z¡A§t»P¤£§tªº¦ì¸m¬O§_¦³»~¡H

TOP

Kubi¦Ñ®vÁÂÁ§AÃöª`§Ú³o­Ó°ÝÃD
§Ú¤w§ó¥¿§Úªº¯Å¶Z²[»P¤£§t¤º®e
½Ð°Ñ¾\(¦pªþ¥ó)

°ÝÃD.jpg (225.44 KB)

°ÝÃD.jpg

060318-¬y¤ô±b&¤ÀÃþ±b-test1.rar (9.14 KB)

TOP

¦^´_ 6# oak0723-1


  1. Sub TEST()
  2. Dim i&, R&, C&, Arr, Brr, xD, V, U
  3. Call Clear_All
  4. Arr = Range("A8:D" & Cells(Rows.Count, 1).End(xlUp).Row)
  5. Set xD = CreateObject("Scripting.Dictionary")
  6. For i = 1 To UBound(Arr): xD(Arr(i, 2)) = "": Next i
  7. U = xD.Count
  8. For i = 1 To U
  9. V = Application.Large(xD.keys, i)
  10. xD(V) = i * 8 - 7: [i6].Cells(1, xD(V)) = V
  11. Next i

  12. R = Cells(Rows.Count, "H").End(xlUp).Row - 10
  13. If R <= 0 Then Exit Sub
  14. Brr = [H11].Resize(R)
  15. For i = 1 To R: xD(Brr(i, 1)) = i: Next i

  16. ReDim Brr(1 To R, 1 To U * 8)

  17. For i = 1 To UBound(Arr)
  18. R = xD(Arr(i, 1)): C = xD(Arr(i, 2)): If R = 0 Or C = 0 Then GoTo 101

  19. V = Arr(i, 3)
  20. If V >= [I9] And V < [K9] Then Brr(R, C + 0) = Brr(R, C + 0) + V: Brr(R, C + 1) = Brr(R, C + 1) + 1
  21. If V >= [M9] And V < [O9] Then Brr(R, C + 4) = Brr(R, C + 4) + V: Brr(R, C + 5) = Brr(R, C + 5) + 1

  22. V = Arr(i, 4)
  23. If V >= [I9] And V < [K9] Then Brr(R, C + 2) = Brr(R, C + 2) + V: Brr(R, C + 3) = Brr(R, C + 3) + 1
  24. If V >= [M9] And V < [O9] Then Brr(R, C + 6) = Brr(R, C + 6) + V: Brr(R, C + 7) = Brr(R, C + 7) + 1
  25. 101: Next i

  26. [i11].Resize(UBound(Brr), UBound(Brr, 2)) = Brr
  27. End Sub
½Æ»s¥N½X



060318-¬y¤ô±b&¤ÀÃþ±b_v1.rar (15.54 KB)

TOP

ÁÂÁ­㴣³¡ªL¦Ñ®vªºÀ°¦£
¥u¬O¤p§Ì¦b°õ¦æ®Éµo²{
­Y¸ê®Æ¿é¤Jªº¸ê®Æ¿é¤J¤£³sÄò´N·|¦³¿ù»~²£¥Í
¤p§Ì§Æ±æ·í©Ò¿é¤Jªº¸ê®ÆÁö«D³sÄò¸ê®Æ¦ý¤]¥i¥H°õ¦æ
§Æ±æ¦³­þ¦ì¦Ñ®v¯àÄ~ÄòÀ°¤p§Ìªº¦£
·P®¦

060326-°ÝÃD.jpg (276.27 KB)

060326-°ÝÃD.jpg

060326-¬y¤ô±b&¤ÀÃþ±b_v1-test02.rar (14.98 KB)

TOP

        ÀR«ä¦Û¦b : ¡i°±º¢¤£«e¡A²×µL©Ò±o¡j¤H³£°g©ó´M§ä©_ÂÝ¡A¦]¦Ó°±º¢¤£«e¡FÁa¨Ï®É¶¡¦A¦h¡B¸ô¦Aªø¡A¤]¤FµL¥Î³B¡A²×µL©Ò±o¡C
ªð¦^¦Cªí ¤W¤@¥DÃD