DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub Raporla()
Dim c As Range, sat As Long, Adr As Variant, i As Integer
Application.ScreenUpdating = False
Sheets("RAPOR").Select
Rows("4:" & Rows.Count).Clear
Sheets("KASA").Range("B4:N5").Copy Range("A4")
sat = 6
For i = 1 To Worksheets.Count
With Sheets(i)
If .Name <> "RAPOR" Then
Set c = .[F:F].Find(Range("A1"))
If Not c Is Nothing Then
Adr = c.Address
Do
.Range("B" & c.Row, "N" & c.Row).Copy Range("A" & sat)
sat = sat + 1
Set c = .[F:F].FindNext(c)
Loop While Not c Is Nothing And c.Address <> Adr
End If
End If
End With
Next i
Range("A6:N" & Rows.Count).Sort Range("A6"), xlAscending
[B:N].EntireColumn.AutoFit
Application.ScreenUpdating = True
End Sub