
I am getting the following error and I am not able to locate the autoload.phpįailed opening required ‘…/_lib/libraries/grp/PHPSSheet/vendor/autoload.php’ (include_path=’. Parse error: syntax error, unexpected ‘=’ in C:\Program Files\NetMake\v9Jun18\Hi am sorry for asking this question after more than an year. $sheet->setCellValue(‘A1’, ‘Hello World !’) $spreadsheet = new \PhpOffice\PhpSpreadsheet\Spreadsheet() includesc_url_library(“sys”,“PHPSpreadsheet”,“vendor/autoload.php”) sc_include_library(“sys”,“PHPSpreadsheet”,“vendor/autoload.php”) ‘/third/phpspreadsheet/vendor/autoload.php’) (I presume because the ‘use’ command in PHPSpreadsheet help, had to be deleted) I get a syntax error within the Spreadsheet class. $documento= new \PhpOffice\PhpSpreadsheet\Spreadsheet() I can get the lib to load, (I tried several different ways) but as soon as I try to use the first command:

A macro call (includesc_url_library) that as far as I know doesn’t exist.

A link to an OLD version of PHPSpreadsheet.The HELP? item in the knowledge base is worse than useless… It has I can’t even get the basics to work… create an empty spreadsheet as per the PHPSpreadsheet help page.Įlsewhere in the forum it says the way that SC implements the tool, the USE functions cant be used (They have to be at the start of a script I think), but the workaround seems confused (at least I couldn’t understand it Been looking at migrating existing PHPExcel Spreadsheet (blank) apps to PHPSpreadsheet.
