DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub Sil()
Dim rForDelete As Range
Dim c As Range
With Sheets("Sayfa1")
For Each c In Range(.[a3], .[a65536].End(3))
If (Not c.Value Like "1*" And Not c.Value Like "9*") Or _
WorksheetFunction.CountIf(Range(c.Offset(1), c.End(xlDown)), c.Value & "*") Then
If Not rForDelete Is Nothing Then
Set rForDelete = Union(rForDelete, c)
Else
Set rForDelete = c
End If
End If
Next
If Not rForDelete Is Nothing Then rForDelete.Delete (xlUp)
End With
End Sub
Sub Sil()
Dim rForDelete As Range
Dim c As Range
With Sheets("Sayfa1")
For Each c In Range(.[a3], .[a65536].End(3))
If (Not c.Value Like "1*" And Not c.Value Like "9*") Or _
WorksheetFunction.CountIf(Range(c.Offset(1), c.End(xlDown)), c.Value & "*") Then
If Not rForDelete Is Nothing Then
Set rForDelete = Union(rForDelete, c)
Else
Set rForDelete = c
End If
End If
Next
If Not rForDelete Is Nothing Then rForDelete.EntireRow.Delete (xlUp)
.Columns("A:B").Insert Shift:=xlToRight
.Columns("H:I").Cut
.Columns("D:E").Select
.Paste
End With
End Sub