File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -851,7 +851,7 @@ for a working example of this code.
851851### listWorksheetInfo
852852
853853The ` listWorksheetInfo() ` method returns a nested array, with each entry
854- listing the name and dimensions for a worksheet:
854+ listing the name, dimensions and state for a worksheet:
855855
856856``` php
857857$reader = \PhpOffice\PhpSpreadsheet\IOFactory::createReader($inputFileType);
@@ -865,7 +865,8 @@ foreach ($worksheetData as $worksheet) {
865865 echo 'Rows: ', $worksheet['totalRows'],
866866 ' Columns: ', $worksheet['totalColumns'], '<br />';
867867 echo 'Cell Range: A1:',
868- $worksheet['lastColumnLetter'], $worksheet['totalRows'];
868+ $worksheet['lastColumnLetter'], $worksheet['totalRows'], '<br />';
869+ echo 'Sheet state: ', $worksheet['sheetState'];
869870 echo '</li >';
870871}
871872echo '</ol >';
You can’t perform that action at this time.
0 commit comments