$spreadsheet = \PhpOffice\PhpSpreadsheet\IOFactory::load($file_path); $workSheet = $NamedRanges->getWorksheet(); $definedName = "xxxx"; //获取指定名称对应的数据 $range_array_data = $workSheet->namedRangeToArray($definedName);
2023-09-25 15:08:15
$spreadsheet = \PhpOffice\PhpSpreadsheet\IOFactory::load($file_path); $workSheet = $NamedRanges->getWorksheet(); $definedName = "xxxx"; //获取指定名称对应的数据 $range_array_data = $workSheet->namedRangeToArray($definedName);
下一篇:日记19