JSON API - setActiveSheet

setActiveSheet

PREMIUM TRIAL / ADVANCED

Sets the active sheet.

Note

You are reading the JSON API documentation. For the PHP API method please go to setActiveSheet.

JSON data
Key Description
name Sheet name.
position Sheet position. 0 is the first sheet. -1 choose the last sheet.

An existing name or position must be chosen.

Code samples

Example #1

Example #2

Release notes
  • phpxlsx 6.0:
    • new action.