- Katılım
- 6 Ocak 2010
- Mesajlar
- 2,224
- Excel Vers. ve Dili
- İŞ: 2021 Win Eng
aşağıdaki gibi deneyin.
Kod:
Sub DoluSatDolguSarı()
With Application
.Calculation = xlCalculationManual
.ScreenUpdating = False
.DisplayAlerts = False
End With
Dim ssat As Long, ssut As Long, i As Long
ssat = Cells(Rows.Count, "AG").End(xlUp).Row
ssut = Cells(1, Columns.Count).End(xlToLeft).Column
For i = 2 To ssat
If Len(Trim(Cells(i, "AG"))) > 0 Then Range(Cells(i, 1), Cells(i, ssut)).Interior.Color = vbYellow
Next
With Application
.Calculation = xlCalculationAutomatic
.ScreenUpdating = True
.DisplayAlerts = True
End With
End Sub
