Update worksheets.md (#243)
This commit is contained in:
parent
6b4f6a7228
commit
0bccbca031
|
@ -97,7 +97,7 @@ insert the clone into the workbook.
|
|||
|
||||
``` php
|
||||
$clonedWorksheet = clone $spreadsheet->getSheetByName('Worksheet 1');
|
||||
$clonedWorksheet->setTitle('Copy of Worksheet 1')
|
||||
$clonedWorksheet->setTitle('Copy of Worksheet 1');
|
||||
$spreadsheet->addSheet($clonedWorksheet);
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue