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

§R°£¯S©wÀx¦s®æ

§R°£¯S©wÀx¦s®æ

Book1.rar (12.48 KB)
¦U¦ì¦n¦pªþ¥ó½Ð«ü¾É  ÁÂÁÂ

¦^´_ 1# jim
  1. Sub kk()
  2. With Sheet5
  3. A = .Range("A65536").End(xlUp).Row
  4. For i = A To 3 Step -1
  5.   If .Cells(i, 5) = "" Or .Cells(i, 5) & .Cells(i + 1, 5) = "­q³f­q³f" Or .Cells(i, 5) & .Cells(i + 1, 5) = "­q³f" Then
  6.      .Rows(i).Delete
  7.   End If
  8. Next
  9. End With
  10. End Sub
½Æ»s¥N½X

TOP

¦^´_ 2# register313
register313  thanks
¦ý¬O°õ¦æ§¹«áµo²{
·í FÀx¦s®æ¤£¬OªÅ¥Õ (§Y>0 )  ,  EÀx¦s®æµLªk§R°£ÁÙ«O¯dµÛ
­ì«h¤W¥HEÀx¦s®æªÅ¥Õ§Y¾ã¦C§R°£

TOP

¦^´_ 2# register313
register313  thanks
¦ý¬O°õ¦æ§¹«áµo²{
·í FÀx¦s®æ¤£¬OªÅ¥Õ (§Y>0 )  ,  EÀx¦s®æµLªk§R°£ÁÙ«O¯dµÛ
­ì«h¤W¥HEÀx¦s®æªÅ¥Õ§Y¾ã¦C§R°£

TOP

¦^´_ 4# jim

¥u­nEÄæ¬OªÅ¥Õ´N¾ã¦C§R°£,§Ú¬O³o¼Ë³]­pªº¨S¿ù
1.gif

TOP

ª¾±x ÁÂÁ §Ú¦A¥«Àˬd¬Ý¬Ý

TOP

¦^´_ 1# jim


    Sub Macro1()
'
' Macro1 Macro
'
' §Ö³tÁä: Ctrl+v
'
For xv = 2 To 65535
    If Range("a" & xv).Value <> "" Then
        xfg = xv
    End If
Next xv
For xy = 2 To xfg
    For xg = 2 To xy
        If Range("e" & xy).Value = "" Then
            Range("a" & xy, "g" & xy).Select
            Selection.Delete Shift:=xlUp
            
        End If
    'Rows("3:3").Select
    'Selection.Delete Shift:=xlUp
    Next xg
Next xy
End Sub


³o¥i¨ì³Ì«áµ²ªG

TOP

¦^´_ 7# mark15jill
¦hÁÂ
¹Á¸Õ¹B¥Î

TOP

        ÀR«ä¦Û¦b : ¤H­n¦Û·R¡A¤~¯à·R´¶¤Ñ¤Uªº¤H¡C
ªð¦^¦Cªí ¤W¤@¥DÃD