LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default Cambiar color fila dependiendo de valor de columna

Vale, ya lo tengo, por si a alguien le interesa:

Dim n As Integer
For n = 4 To 500
If Range("E" & n) = "0" Then
Worksheets("Riesgos").Range("A" & n, "L" & n).Interior.Color =
RGB(192, 192, 192)
Else
Worksheets("Riesgos").Range("A" & n, "L" & n).Interior.Color =
RGB(255, 255, 255)
End If
Next

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:25 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"