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

[µo°Ý] §R°£¾ã¦C¦³¸ê®ÆµL©³¦â

¦^´_ 1# jsc0518

½Ð´ú¸Õ¬Ý¬Ý¡AÁÂÁÂ
Sub test()
Dim xR As Range, R%, Clr
Application.ScreenUpdating = False
R = 1
With Sheets(1)
    If .AutoFilterMode Then .[a1].AutoFilter
    For Each xR In .Range(.[a1], .Cells(.Rows.Count, 1).End(3))
        Clr = xR.DisplayFormat.Interior.ColorIndex
        If Clr <> -4142 Then
            xR.Resize(, 1).Copy Sheets(2).Cells(R, 1)
            R = R + 1
        End If
    Next
End With
Application.ScreenUpdating = True
End Sub

TOP

¥»©«³Ì«á¥Ñ samwang ©ó 2022-3-24 07:51 ½s¿è
¦^´_  samwang
Dear samwang,
±z¦n¡A§Ú·Q­n¦b"­ì©l¸ê®Æ"¤u§@ªí¤Uª½±µ§R°£µL©³¦â(¦³¸ê®Æ)ªº¦C(¾ã¦C)
¦P¤@ ...
jsc0518 µoªí©ó 2022-3-23 20:38


½Ð¦A´ú¸Õ¬Ý¬Ý¡AÁÂÁÂ
Sub test2()
Dim xR As Range, xU As Range, Clr
Application.ScreenUpdating = False
With Sheets(1)
    If .AutoFilterMode Then .[a1].AutoFilter
    For Each xR In .Range(.[a1], .Cells(.Rows.Count, 1).End(3))
        Clr = xR.DisplayFormat.Interior.ColorIndex
        If Not Clr <> -4142 Then
            If xU Is Nothing Then Set xU = xR Else Set xU = Union(xR, xU)
        End If
    Next
End With
If Not xU Is Nothing Then xU.EntireRow.Delete
Application.ScreenUpdating = True
End Sub

TOP

¦^´_  samwang

Dear samwang,
ÁÂÁ§A¥i¥H¥Î¼Ú¡C
¥t¥~½Ð±Ð¤@¤U¡A­Y§Úªº¤u§@ªí¬°"¤u§@ªí2"
¬O¤£¬O She ...
jsc0518 µoªí©ó 2022-3-24 22:08


¦pªþ¥ó»¡©ú¡AÁÂÁÂ
1.JPG

TOP

        ÀR«ä¦Û¦b : ¡i¬O§_µo´§¤F¨}¯à¡H¡j¤H¶¡¹Ø©R¦]¬°µu¼È¡A¤~§óÅã±o¬Ã¶Q¡CÃø±o¨Ó¤@½ë¤H¶¡¡AÀ³°Ý¬O§_¬°¤H¶¡µo´§¤F¦Û¤vªº¨}¯à¡A¦Ó¤£­n¤@¨ý¨Dªø¹Ø¡C
ªð¦^¦Cªí ¤W¤@¥DÃD