- ©«¤l
 - 75 
 - ¥DÃD
 - 8 
 - ºëµØ
 - 0 
 - ¿n¤À
 - 109 
 - ÂI¦W
 - 0  
 - §@·~¨t²Î
 - windows XP 
 - ³nÅ骩¥»
 - office 2010 
 - ¾\ŪÅv
 - 20 
 - ©Ê§O
 - ¨k 
 - ¨Ó¦Û
 - °ª¶¯ 
 - µù¥U®É¶¡
 - 2015-4-19 
 - ³Ì«áµn¿ý
 - 2025-5-7 
 
  | 
                
¦^´_ 1# newvbaer  
 
 
   Sub looptest() 
Dim counter As Long 
     
    Sheets("alex").Select 
    ROW1 = Cells(Rows.Count, "A").End(xlUp).Row 
    Range(Cells(2, 1), Cells(ROW1, 4)).ClearContents 
     
    Sheets("¤u¡±@ªí1").Select 
     
    ROW2 = Cells(Rows.Count, "A").End(xlUp).Row 
     
    k = 2 
    For counter = 2 To ROW2 
     
        If Cells(counter, 4) = 1 Then 
             
            Range(Cells(counter, 1), Cells(counter, 4)).Copy Sheets("alex").Cells(k, 1) 
             
            k = k + 1 
        End If 
         
    Next 
    Sheets("¤u¡±@ªí1").Select 
 
End Sub 
 
 
  VBA°j°é°Å¶K±Æ§Ç.zip (61.21 KB)
 |   
 
 
 
 |