- Katılım
- 2 Mart 2005
- Mesajlar
- 2,960
- Excel Vers. ve Dili
-
ev: Ofis 2007- Win Xp
iş: Ofis 2010- Win Vista
Kod:
Sub Aralıktaki_ilk_dolu_satırlar()
Application.ScreenUpdating = False
Dim csfRpr As Worksheet: Set csfRpr = ThisWorkbook.Worksheets("Rapor")
Dim rngBul As Range
With csfRpr
.Columns("G").Clear
For Each rngBul In .Range("A2:E500").SpecialCells(xlCellTypeConstants, 23).Areas
Cells(rngBul.Row, "g") = rngBul.Row & ". satır ilk dolu satırdır."
'Cells([COLOR=Red]AralıktakiSonSat[/COLOR].Row, "g") = [COLOR=Red]AralıktakiSonSat[/COLOR].Row & ". satır son dolu satırdır."
Next rngBul
Set rngBul = Nothing
End With
Set csfRpr = Nothing
Application.ScreenUpdating = True
End Sub
