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

[µo°Ý] ¨D°ª¤â¸Ñ´b

[µo°Ý] ¨D°ª¤â¸Ñ´b

¦U¦ì¦n¡A¥Ø«e¹J¨ì«Ü¤jªº°ÝÃD¬O...
§Ú·Q§âRoll¨ºÄ檺¼Æ­È¡A  ¦Û°Ê¬D¥X   ''¼Æ­È¤j©ó¤­ ¥B ³sÄò20¬í¥H¤W( C Ä欰®É¶¡ )''¡AµM«á¶K¨ì¥t¤@¤u§@ªí¡A½Ð°Ý¸Ó«ç»ò°µ©O?  

(ªþ¥ó¡Ashee1¬°­ì©l¸ê®Æ,  ­nÅܦ¨¹³sheet2¨º¼Ë)

ROLL.zip (360.35 KB)


¦]¬°¥Î§Ú¥Ø«eªº¤è¦¡¯uªº­n¬D«Ü¤[...

ÁÂÁ¤j®aÀ°À°§Ú§a><!!

§Ñ¤F»¡©ú¡A   CÄæ¬O®É¶¡ (8¬í°O¿ý¤@¦¸)¡A©Ò¥H¤j·§´N¬O  ³sÄò¥|­ÓÀx¦s®æ

TOP

¦^´_ 2# gagashe

¦]¨Cµ§®É¶¡¬Ò¬°8¬í,©Ò¥H¤£¤w®É¶¡°µ§PÂ_,ª½±µ¤w³sÄò4µ§¸ê®Æ°µ§PÂ_>20¬í
Sub ex()
Dim R As Long, Cmax As Integer
Sheets("Sheet2").Range("A1").CurrentRegion.Delete
Sheets("Sheet1").Range("a2:t3").Copy Sheets("Sheet2").Range("a1")
With Sheets("Sheet1").Range("A1").CurrentRegion
   R = 4
   Do While R <= .Rows.Count
      Cmax = 0
      Do While .Cells(R + Cmax, 17) > 5 And .Cells(R + Cmax, 17) <> ""
         Cmax = Cmax + 1
      Loop
      If Cmax >= 4 Then Sheets("sheet1").Range(Cells(R, 1), Cells((R + Cmax - 1), 20)).Copy Sheets("Sheet2").Range("b65536").End(xlUp).Offset(1, -1)
      R = R + 1 + Cmax
   Loop
End With
End Sub

TOP

        ÀR«ä¦Û¦b : ½_ÁJµ²±o¶V¹¡º¡¡A¶V·|©¹¤U««¡A¤@­Ó¤H¶V¦³¦¨´N¡A´N­n¶V¦³Á¾¨Rªº¯ÝÃÌ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD