title: 'Number Stored as Text' using phpExcel
body: <p>Can someone help me or guide me?</p>
  
  <p>I was using this code.</p>
  
  <pre><code>$objPHPExcel
    -&gt;getActiveSheet()
    -&gt;setCellValueExplicit('A1', '1234', PHPExcel_Cell_DataType::TYPE_STRING);
  </code></pre>
  
  <p>I need to have a value on excel with <code>'1234</code> (declared as Number Stored as Text and hiding the apostrophe)</p>
  
  <p>I already tried to concatenate the apostrophe on the value.</p>
  
  <pre><code>$objPHPExcel
    -&gt;getActiveSheet()
    -&gt;setCellValueExplicit('A1', "'"."1234", PHPExcel_Cell_DataType::TYPE_STRING);
  </code></pre>
  
  <p>But it just shows the cell as an ordinary <strong>TEXT</strong>, doesn't declare as <strong>Number Stored as Text</strong></p>