- Katılım
- 28 Kasım 2007
- Mesajlar
- 919
- Excel Vers. ve Dili
- Office 2010 İngilizce
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub renklilistele()
Set s1 = Sheets("database")
Set s2 = Sheets("istenen")
For a = 2 To s1.[a65536].End(3).Row
If s1.Cells(a, "h").Interior.ColorIndex = 6 Then
sat = s2.[a65536].End(3).Row + 1
s1.Rows(a).Copy s2.Rows(sat)
End If
Next
End Sub
Sub renklilistele()
Set s1 = Sheets("database")
Set s2 = Sheets("ıstenen")
For a = 2 To s1.[a65536].End(1).Column
If s1.Cells(2, a).Interior.ColorIndex = 6 Then
sat = s2.[a65536].End(3).Row + 1
s1.Rows(a).Copy s2.Rows(sat)
End If
Next
Rows("1:1").Select
Selection.Copy
Sheets("ıstenen").Select
Rows("1:1").Select
ActiveSheet.Paste
Application.CutCopyMode = False
Columns("A:A").EntireColumn.AutoFit
Range("B2").Select
MsgBox "İŞLEM TAMAM"
End Sub
Sub renklilistele()
Set s1 = Sheets("database")
Set s2 = Sheets("ıstenen")
Application.FindFormat.Interior.ColorIndex = 6
For a = 2 To s1.[a65536].End(3).Row
If Not Rows(a).Find(What:="", LookIn:=xlFormulas, LookAt:= _
xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:=False _
, SearchFormat:=True) Is Nothing Then
sat = s2.[a65536].End(3).Row + 1
s1.Rows(a).Copy s2.Rows(sat)
End If
Next
Application.FindFormat.Clear
MsgBox "İŞLEM TAMAM"
End Sub