title: How to set plain sheet title in phpexcel
body: <p>I am trying to print excel sheet with multiple sheets inside. Everything is working fine except the sheet title. I have set the sheet title and it is coming accordingly. However, with the given sheet title the extra number is also coming which creates confusion. I believe, this is the sheet index number or something but unable to remove it. Here is my code :</p>
  
  <pre><code>$y=0;
  for ($w=1; $w&lt;3; $w++) :
              $sheetId =$y;
              $objPHPExcel-&gt;createSheet(NULL, $sheetId);
              $objPHPExcel-&gt;setActiveSheetIndex($sheetId);
              $objPHPExcel-&gt;getActiveSheet()-&gt;setTitle("Week ".$w);
              $objPHPExcel-&gt;getActiveSheet()-&gt;getColumnDimension('A')-&gt;setWidth(12);
              $objPHPExcel-&gt;getActiveSheet()-&gt;getColumnDimension('B')-&gt;setWidth(12);
              $objPHPExcel-&gt;getActiveSheet()-&gt;getColumnDimension('C')-&gt;setWidth(14);
              $objPHPExcel-&gt;getActiveSheet()-&gt;getColumnDimension('D')-&gt;setWidth(20);
              $objPHPExcel-&gt;getActiveSheet()-&gt;getColumnDimension('E')-&gt;setWidth(16);
              $objPHPExcel-&gt;getActiveSheet()-&gt;getColumnDimension('F')-&gt;setWidth(12);
              $objPHPExcel-&gt;getActiveSheet()-&gt;getColumnDimension('G')-&gt;setWidth(10);
              $objPHPExcel-&gt;getActiveSheet()-&gt;getColumnDimension('H')-&gt;setWidth(15);
              $objPHPExcel-&gt;getActiveSheet()-&gt;getColumnDimension('I')-&gt;setWidth(10);
              $objPHPExcel-&gt;getActiveSheet()-&gt;getColumnDimension('J')-&gt;setWidth(17.5);
  
              $objPHPExcel-&gt;setActiveSheetIndex($sheetId)-&gt;mergeCells('A1:J6');
              $objPHPExcel-&gt;getActiveSheet()-&gt;getStyle('A1')-&gt;getAlignment()-&gt;setWrapText(true);
              $objPHPExcel-&gt;getActiveSheet()-&gt;getStyle("A1")-&gt;getAlignment()-&gt;setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);
              $objPHPExcel-&gt;getActiveSheet()-&gt;getStyle('A1:J5')-&gt;applyFromArray($styleArray);
              $objPHPExcel-&gt;getActiveSheet()-&gt;getStyle('A:E')-&gt;applyFromArray($centreAlign);
  endfor;
  </code></pre>
  
  <p><strong>Output:</strong></p>
  
  <p><img src="https://i.stack.imgur.com/hH1Lo.jpg" alt=""></p>
  
  <p>The first week 1 and week 2 is correct but in others extra number is coming which is undesirable.</p>
  
  <p>Any help will be highly appreciated.</p>