Help Centre › Building Processes
Check if a sheet exists.
Runs on: macOS and Windows only.
Add it to a process
In the process designer, open the Add step tab. Find Check if sheet exists 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. |
| Sheet | Yes | Name of the sheet in the Excel file. Supports wildcards: * matches any characters. |
| Variable | No | Name of the variable where the result will be stored Default: exists. |
What it gives back
{exists}
See all Excel steps.
Errors
| Error | Description |
|---|---|
| File not open | The Excel file must be open |
Tips
- Use this to verify a sheet exists before reading or writing to it