title: PHPExcel lock particular cell
body: <p>In phpexcel i was able to lock cell by</p>
  
  <pre><code>$objPHPExcel-&gt;getActiveSheet()-&gt;protectCells('A1:D1', 'php');
  $objPHPExcel-&gt;getActiveSheet()-&gt;getProtection()-&gt;setSheet(true);
  </code></pre>
  
  <p>If i double click on any Cell between A1 to D1 it will ask for password as it should. <br />
  But if i double click on any other cell (eg) A2 it says </p>
  
  <pre><code>"The cell or chart that you are trying to change is protected and therefore 
  read-only".
  </code></pre>
  
  <p>Its locking whole worksheet, Is it possible to lock only particular cell and leave other cells editable?</p>