merhaba bu kodu çalışma kitabındaki tüm sayfalara uygulama şansımız varmı
Sub Duzenle()
Dim sut As Byte, i As Long, c As Range, Adr As Variant
Application.ScreenUpdating = False
Range("E:E").ClearContents
Range("F2:Q" & Rows.Count).ClearContents
Columns("B:B").AdvancedFilter Action:=xlFilterCopy, _
CopyToRange:=Range("E1"), Unique:=True
For i = 2 To Cells(Rows.Count, "E").End(xlUp).Row
sut = 6
With Range("B:B")
Set c = .Find(Cells(i, "E"), , xlValues, xlWhole)
If Not c Is Nothing Then
Adr = c.Address
Do
Cells(i, sut + Cells(c.Row, "C") - 1) = Cells(c.Row, "D")
Set c = .FindNext(c)
Loop While Not c Is Nothing And c.Address <> Adr
End If
End With
Next i
Application.ScreenUpdating = True
End Sub
