- Katılım
- 17 Aralık 2011
- Mesajlar
- 135
- Excel Vers. ve Dili
- ingilizce
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub SayfalaraAktar()
Sheets("Sayfa1").ShowAllData
For i = Sheets.Count To 1 Step -1
Application.DisplayAlerts = False
If Sheets(i).Name <> "Sayfa1" Then Sheets(i).Delete
Application.DisplayAlerts = True
Next
With Sheets("Sayfa1")
For i = .[a65536].End(3).Row To 2 Step -1
If WorksheetFunction.CountIf(.Range("a2:a" & i), .Cells(i, 1)) = 1 Then
Sheets.Add: ActiveSheet.Name = .Cells(i, 1)
.Range("A1").AutoFilter _
field:=1, _
Criteria1:=.Cells(i, 1), _
VisibleDropDown:=False
.Range("a1:k500").Copy [a1]
End If
Next
End With
MsgBox "Bitti"
End Sub