You are here

public function PHPExcel::setMacrosCode in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel.php \PHPExcel::setMacrosCode()

* Set the macros code * *

Parameters

binary string|null:

File

vendor/phpoffice/phpexcel/Classes/PHPExcel.php, line 173

Class

PHPExcel
PHPExcel

Code

public function setMacrosCode($MacrosCode) {
  $this->_macrosCode = $MacrosCode;
  $this
    ->setHasMacros(!is_null($MacrosCode));
}