DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
[FONT="Trebuchet MS"][SIZE="2"]Private Sub Worksheet_Calculate()
If Range("A1").Value [COLOR="DarkOrange"]< 50[/COLOR] Then
Range("A1").[COLOR="red"]Interior[/COLOR].[COLOR="Blue"]ColorIndex [/COLOR]= [COLOR="Red"]44[/COLOR]
Else
Range("A1").[COLOR="red"]Interior[/COLOR].[COLOR="blue"]ColorIndex [/COLOR]= [COLOR="red"]0[/COLOR]
End If
End Sub[/SIZE][/FONT]
Formülünüzün A1 hücresinde olduğunu düşünerek, ilgili sayfanın kod kısmına bu kodu yazıp deneyin..
Kod:[FONT="Trebuchet MS"][SIZE="2"]Private Sub Worksheet_Calculate() If Range("A1").Value [COLOR="DarkOrange"]< 50[/COLOR] Then Range("A1").[COLOR="red"]Interior[/COLOR].[COLOR="Blue"]ColorIndex [/COLOR]= [COLOR="Red"]44[/COLOR] Else Range("A1").[COLOR="red"]Interior[/COLOR].[COLOR="blue"]ColorIndex [/COLOR]= [COLOR="red"]0[/COLOR] End If End Sub[/SIZE][/FONT]
Private Sub Worksheet_Calculate()
Application.ScreenUpdating = False
Range("F:F").Interior.ColorIndex = 0
For X = 1 To Cells(Rows.Count, "F").End(3).Row
If Cells(X, "F") < 50 Then
Cells(X, "F").Interior.ColorIndex = 44
Else
Cells(X, "F").Interior.ColorIndex = 0
End If
Next
Application.ScreenUpdating = True
End Sub