Sub Step1()
'§R°£ key word : ¤½¥q / ³æ§O: / ¤é´Á* / ²£«~¤jÃþ: / ®Öã / ¦Xp* / ²Îp*
Dim reg As Object, a, rng As Range, z&
a = Range("a1:a" & Cells(Rows.Count, 1).End(3).Row).Value
z = UBound(a)
Set rng = Rows(z + 1)
Set reg = CreateObject("vbscript.regexp")
With reg
.Pattern = "ªÅ¥Õ|¤½¥q|³æ§O:|¤é´Á|²£«~¤jÃþ:|®Öã|¦Xp|Á`p"
For i = 1 To z
If Len(a(i, 1)) = 0 Or .test(a(i, 1)) Then
Set rng = Union(rng, Rows(i))
End If
Next
End With
rng.Delete
Set rng = Nothing
End Sub§@ªÌ: ikboy ®É¶¡: 2018-2-2 17:17
Sub Step1()
'§R°£ key word : ¤½¥q / ³æ§O: / ¤é´Á* / ²£«~¤jÃþ: / ®Öã / ¦Xp* / ²Îp*
Dim reg As Object, a, rng As Range, z&
a = Range("a1:a" & Cells(Rows.Count, 1).End(3).Row).Value
z = UBound(a)
Set rng = Rows(z + 1)
Set reg = CreateObject("vbscript.regexp")
With reg
.Pattern = "ªÅ¥Õ|¤½¥q|³æ§O:|¤é´Á|²£«~¤jÃþ:|®Öã|¦Xp|Á`p"
For i = 1 To z
If Len(a(i, 1)) = 0 Or .test(a(i, 1)) Then
Set rng = Union(rng, Rows(i))
End If
Next
End With
rng.Delete
Set rng = Nothing
End Sub§@ªÌ: GBKEE ®É¶¡: 2018-2-3 11:32
Sub Step2()
'§R°£ÃöÁä¦r-BÄæ¦C--> »â®Æ »â¥Î
Dim key_word$, E As Range, Rng As Range
key_word = "/»â¥Î/»â®Æ/"
For Each E In Range("b1:b" & Cells(Rows.Count, 1).End(3).Row)
If InStr(key_word, "/" & E & "/") Then
If Rng Is Nothing Then
Set Rng = E
Else
Set Rng = Union(Rng, E)
End If
End If
Next
If Not Rng Is Nothing Then Rng.EntireRow.Delete
Sub Step6()
'ªÅ¥ÕÄæ¦ì¥i¥H¦Û°Ê½Æ»s»P¤W¤@µ§¸ê®Æ¬Û¦P-B
With ActiveSheet.UsedRange.Columns("B")
If .Cells(1).End(xlDown).End(xlDown).Row <> Rows.Count Then '§PÂ_¦³ªÅ¥ÕªºÀx¦s®æ !!!!
.SpecialCells(xlCellTypeBlanks).Cells = "=R[-1]C" '¨S¦³ªÅ¥ÕªºÀx¦s®æ .SpecialCells(xlCellTypeBlanks) µ{¦¡·|¿ù»~
.Value = .Value
End If
End With
End Sub§@ªÌ: jsc0518 ®É¶¡: 2018-2-12 16:39