Hiding a worksheet


The [highlight txt=’hide worksheet’] instruction allows a user to delete a particular worksheet from within a Excel file.

[message type=”warning”]For the purposes of this article we are going to use a simple and fictitious Excel file. It has already been uploaded into a data step. You will want to replace this file with one of your own.[/message]

Before we get started

Please further create a ‘Manipulate a file’ or ‘Multiple file manipulations’ action step so that you can add and use instructions.

The target file that we are going to use is a standard fresh Excel workbook which contains 3 empty worksheets.


1. Create a ‘Hide worksheet’ instruction.

2. Link the file named “Target” as the target file.

3. Select Sheet1.

4. Save and run the step.

5. After the step finishes running, download and open the target file. Sheet1 will no longer be visible. If you right-click on any visible sheet in the worksheet Ribbon and select ‘Unhide…’ you will be able to see that Sheet1 is available to be unhidden.

Recent Posts

Leave a Comment