Closed
Description
Hello
I want to read an Excel file and get a range from that , then convert it to html.
$data_array = $spreadsheet->setActiveSheetIndex(0)->rangeToArray("A1:H23");
how to convert $data_array
to HTML?
like below sample:
$objWriter = IOFactory::createWriter($spreadsheet, 'Html');
$objWriter->writeAllSheets();
$objWriter->save('php://output');
but this output all excel file not the selected range
Metadata
Metadata
Assignees
Labels
No labels