Sets the active sheet.
This method sets the internal active sheet.
This internal active sheet is used to add new contents in the chosen sheet. It doesn't change the active sheet value in the worksheet.
|Sheet position. 0 is the first sheet. -1 choose the last sheet.
An existing name or position must be chosen.
The name or the position don't exist.
- phpxlsx 2.0: -1 as position to choose the last sheet.
- phpxlsx 1.0: new method.