0

This code doesn't change the direction.

$this->excel->getActiveSheet()->setRightToLeft(true);
G_real
  • 1,137
  • 1
  • 18
  • 28
veta 2020
  • 1
  • 1
  • In Excel, the VBA command would be `ActiveSheet.DisplayRightToLeft = True`, not sure how that would translate to codeigniter or php – tigeravatar Apr 11 '19 at 17:47

1 Answers1

0

The code you used looks correct.

PHPExcel is an old library. The new library is PhpSpreadsheet. I have include PhpSpreadsheet in CodeIgniter 3 in the third_party folder. See also

Coanda
  • 373
  • 5
  • 12