View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Erik Oveson [MSFT] Erik Oveson [MSFT] is offline
external usenet poster
 
Posts: 3
Default Conditional formatting?

Hi GL,

Select the region you want this applied to (possibly the entire sheet in
your case) and then go to Format | Conditional Formatting... | select
"Formula Is" and then put for the formula: =MOD(ROW(), 5)=0

Then click the "Format..." button and select yellow color under the Pattern
tab.

I can show you how to do it in VBA if you want, but this is probably easier.

-Erik

"G Lam" wrote in message
...
Hi, I want to format a sheet to show on each every 5 rows to a different
color, i.e. R5, R10,R15.....,R150,R155 all in yellow and the rest are in
normal white.
How can I do that?
Thank you.
GL