Conditional Formatting: Alternate rows

Topics: User Forum
Jul 18, 2011 at 9:29 AM


I'm trying to set alternate row formatting with conditional formatting using the same formula I use with excel. Excel 2007 removes the conditional formatting.

Conditional rules:

  $objConditional1 = new PHPExcel_Style_Conditional();

Is the formula incorrect? It works in excel.. I would like to use conditional formatting instead of setting fills for each row.