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

¦p¦ó²¾°£ÃöÁä¦rªº¾ã¦C

¦^´_ 4# jsc0518

½Ð´ú¸Õ¬Ý¬Ý¡AÁÂÁÂ
Sub test()
Dim xR As Range, xU As Range
For Each xR In ActiveSheet.Range("B:B").SpecialCells(xlCellTypeConstants).Rows
    If Not IsError(Application.Match(0, xR, 0)) Then
        If xU Is Nothing Then Set xU = xR Else Set xU = Union(xR, xU)
     End If
Next
If Not xU Is Nothing Then xU.EntireRow.Delete
End Sub

TOP

¦^´_  samwang
Dear samwang,
Test OK¡A·PÁ±zªº¼ö¤ß¸Ñ´b¡C
»P±z½Ð±Ð¡G­Y»Ý§ó§ïÃöÁä¦r¬O§_§ó§ï¤U¦C»yªk ...
jsc0518 µoªí©ó 2022-4-20 21:42


¥i¥H¬d¤@¤UExcel Math¥Îªk´Nª¾¹D¤F¡AÁÂÁÂ

TOP

        ÀR«ä¦Û¦b : ¤f»¡¦n¸Ü¡B¤ß·Q¦n·N¡B¨­¦æ¦n¨Æ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD