// Create phpExcel sheet, sheet 1, get active sheet $this->PhpExcel->createSheet(1); $this->PhpExcel->setActiveSheetIndex(1); $sheet = $this->PhpExcel->getActiveSheet();