title: How to wrap PHPExcel generated cells with a link
body: <p>The cv column holds filenames of files uploaded to server.
  How to wrap the cell values with a link to pull the files from server.</p>
  
  <p>This is my code.         </p>
  
  <pre><code>$sql = "SELECT name,email,phone,cv from applicants";        
  $res = $this-&gt;db-&gt;query($sql);
  $exceldata="";
  foreach ($res-&gt;result_array() as $row){
      $exceldata[] = $row;
  }
  
  $this-&gt;excel-&gt;getActiveSheet()-&gt;fromArray($exceldata, null, 'A3');
  $this-&gt;excel-&gt;getActiveSheet()-&gt;getStyle('A3')-&gt;getAlignment()-&gt;setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
  $this-&gt;excel-&gt;getActiveSheet()-&gt;getStyle('B3')-&gt;getAlignment()-&gt;setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
  $this-&gt;excel-&gt;getActiveSheet()-&gt;getStyle('C3')-&gt;getAlignment()-&gt;setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
  $this-&gt;excel-&gt;getActiveSheet()-&gt;getStyle('D3')-&gt;getAlignment()-&gt;setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER)
  </code></pre>
  
  <p>I want the cell to show the value with link pointing to the file.
  Desired output of the cells:</p>
  
  <p>ex.  <code>href="http://examle.com/uploads/cv/ '. cell_value .'"&gt;cellvalue</code></p>