title: Can I select multiple cells or a set of ranges in order to style them?
body: <p>I know I can <a href="https://github.com/PHPOffice/PHPExcel/blob/develop/Documentation/markdown/Overview/08-Recipes.md#formatting-cells" rel="nofollow">access a range of cells in order to format them</a>:</p>
  
  <pre><code>$objPHPExcel-&gt;getActiveSheet()-&gt;getStyle('B3:B7')-&gt;getFill()
      -&gt;setFillType(PHPExcel_Style_Fill::FILL_SOLID)
      -&gt;getStartColor()-&gt;setARGB('FFFF0000');
  </code></pre>
  
  <p>Now is there a way, and if yes, how can I define multiple cells or a set of ranges within the <code>getStyle()</code> call? I tried</p>
  
  <pre><code>$objPHPExcel-&gt;getActiveSheet()-&gt;getStyle('B3:B7;C6:C12')-&gt;getFill()-&gt;...
  </code></pre>
  
  <p>and</p>
  
  <pre><code>$objPHPExcel-&gt;getActiveSheet()-&gt;getStyle('B3;C9;D2;E6')-&gt;getFill()-&gt;...
  </code></pre>
  
  <p>but both didn't work and threw an error.</p>