- Katılım
- 7 Mayıs 2006
- Mesajlar
- 113
- Excel Vers. ve Dili
- Microsoft Office Excel 2010 TR
renklı hucrelerı yada satıları tek tek crtl ıle secıp sılıyorum makro yazmadan baska yontem ıle bu satırları sılebılır mıyız?[/B]
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub renklisatirsil1()
Dim hucre, a As Integer
For hucre = 300 To 1 Step -1
If Cells(hucre, 1).Interior.ColorIndex = 3 Or Cells(hucre, 1).Interior.ColorIndex = 41 Then
Cells(hucre, 1).EntireRow.Delete
End If
Next
End Sub
If Cells(hucre, 1).Interior.ColorIndex = 3 Or Cells(hucre, 1).Interior.ColorIndex Cells(hucre, 1).Interior.ColorIndex = 41 Then
If Cells(hucre, 1).Interior.ColorIndex <> xlNone Then
Sub RENKLİ_SATIRLARI_SİL()
For X = 1000 To 1 Step -1
If Cells(X, 1).Interior.ColorIndex <> xlNone Then Cells(X, 1).EntireRow.Delete
Next
MsgBox "Renkli satırlar silinmiştir.", vbInformation
End Sub