Help Centre › Building Processes
Sort sheets alphabetically (A-Z or Z-A).
Runs on: macOS and Windows only.
Add it to a process
In the process designer, open the Add step tab. Find Sort sheets under Excel › Sheets, or type its name in the search box, and drag it onto the canvas.
Fields
| Field | Required | What it does |
|---|---|---|
| File path | No | Enter the file path, or use a variable such as {folders::desktop::path}\file.xlsx. Leave blank to use the workbook an earlier step opened. |
| Order | No | Sort direction for the sheets Choices: Ascending (A-Z), Descending (Z-A). Default: asc. |
| Pin at start | No | Comma-separated sheet names to keep at the beginning |
| Pin at end | No | Comma-separated sheet names to keep at the end |
See all Excel steps.
Errors
| Error | Description |
|---|---|
| File not open | The Excel file must be open |
Tips
- Use Pin at start to keep summary or index sheets at the front (e.g. "Summary, Index")
- Use Pin at end to keep reference or lookup sheets at the back (e.g. "Lookup, Config")
- Pinned sheets maintain the order you specify; all other sheets are sorted alphabetically between them