The [highlight txt=’hide row’] instruction allows a user to hide a row within a particular Excel worksheet.[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 looks like this:
1. Create a ‘Hide row’ instruction.
2. Link the file named “Target” as the target file.
3. Select Sheet1.
4. Type into the field to the Row field or adjust the ticker next to this field to “2”. This specifies where the data will be copied to. This configures the step to hide Row2. Please note that this instruction can only hide one row at a time.
6. Save and run the step.
7. After the step finishes running, download and open the target file: