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

¦p¦ó§R°£ªÅ¥ÕÄæ,¦Ó¤£¬O¾ã¦C§R°£?

¦p¦ó§R°£ªÅ¥ÕÄæ,¦Ó¤£¬O¾ã¦C§R°£?

½Ð°Ý¦U¦ì¤j¤j¡G
­n¦p¦ó§R°£ªÅ¥ÕÄæ,Åý¯S©wªº¨âÄ椧¤U¤è¸ê®Æ©¹¤W²¾?(¸Ô¦pªþ¥ó 11.rar (3.01 KB) )

Sub TEST()
Dim xArea As Range, xU As Range, xR As Range
Set xArea = Intersect(ActiveSheet.UsedRange, [B:F])
Set xU = xArea(xArea.Rows.Count + 1, 1)
For Each xR In xArea
    If xR.Column Mod 2 Or xR & xR(1, 2) <> "" Then GoTo 101
    Set xU = Union(xU, xR, xR(1, 2))
101: Next
If xU.Count > 1 Then xU.Delete Shift:=xlUp
End Sub

TOP

ÁÂÁ­㴣³¡ªL¤j¤j~

TOP

        ÀR«ä¦Û¦b : ¡i¥Í©R¦b©I§l¶¡¡j¦òªû»¡¡G¡u¥Í©R¦b©I§l¶¡¡C¡v¤HµLªkºÞ¦í¦Û¤vªº¥Í©R¡A§óµLªk¾×¦í¦º´Á¡AÅý¦Û¤v¥Ã¦í¤H¶¡¡C¬JµM¥Í©R¥h¨Ó³o»òµL±`¡A§Ú­Ì§óÀ³¸Ó¦n¦n¦a·R±¤¥¦¡B§Q¥Î¥¦¡B¥R¹ê¥¦¡AÅý³oµL±`¡BÄ_¶Qªº¥Í©R¡A´²µo¥¦¯uµ½¬üªº¥ú½÷¡A¬M·Ó¥X¥Í©R¯u¥¿ªº»ù­È¡C
ªð¦^¦Cªí ¤W¤@¥DÃD