title: PHPExcel formatting
body: <p>I need some help regarding PHPExcel, we have a script that inputs logs of our web-application such as searches, keywords, etc into an excel file. I want the script to display the logs in a such a way that few parameters are Black, few in green. Here si the part of the script that I need to modify:</p>
  
  <pre><code>$data = parse_command($log_command, $content);
  $command = $data['command'];
  
              $params = $data['params'];
  
              if ($command == 'skip')
                  continue;
  
              $curr_row++;
  
              if ($save_to_excel)
              {
                  $objPHPExcel-&gt;getActiveSheet()-&gt;getStyle('A'.$curr_row.':C'.$curr_row)-&gt;getFont()-&gt;setSize(10);
                  $objPHPExcel-&gt;getActiveSheet()-&gt;getStyle('A'.$curr_row)-&gt;getNumberFormat()-&gt;setFormatCode(PHPExcel_Style_NumberFormat::FORMAT_DATE_XLSX15);
                      $objPHPExcel-&gt;setActiveSheetIndex(0)
                      -&gt;setCellValue('A'.$curr_row, $request_time)
                      -&gt;setCellValue('B'.$curr_row, $command)
                      -&gt;setCellValue('C'.$curr_row, $params);
  
              }
  </code></pre>
  
  <p>The excel file has logs that contains dates, type of searches, keywords. so I want few types of searches in Black such as Venue searches in black, event searches in Blue, I hope I am clear enough. Thanks in advance.</p>