title: How do I create a named range containing non-contiguous cells in PHPExcel?
body: <p>How do I create a named range containing non-contiguous cells in PHPExcel? Is it even possible? Thanks in advance!</p>
  
  <p>Here's what I did:</p>
  
  <pre><code>$objPHPExcel-&gt;addNamedRange(
     new PHPExcel_NamedRange('ToggleRange', $activeSheet, 'C4:G5,C9:J10,C14:H15')
  );
  </code></pre>
  
  <p>What's happening though is that the named range is only being applied to C4:G5, and not the other cells.</p>