Remove Headers/Footers From Excel Document
  • 07 Dec 2022
  • 1 Minute to read
  • Dark
    Light

Remove Headers/Footers From Excel Document

  • Dark
    Light

Article Summary

Step Details

Introduced in Version5.0.0
Modified in Version7.12.0
LocationData > Excel & CSV

The Remove Headers/Footers From Excel Document step allows users to remove a Header and/or Footer from an Excel or CSV document.




Properties

Inputs

PropertyDescriptionData Type
Existing Headers/Footers

Keep ExistingThe current Headers and Footers in the document will remain unchanged.---

Clear All Headers and FootersRemoves all Headers and Footers in the specified document. ---

Clear HeadersWill remove the Headers from the document.---

Clear FootersWill remove the Footers from the document.---
From Entire WorkbookWhen set to "True", will remove headers/footers from the file provided. When set to "False", the Worksheet Index Input will display. The Error Handling > Worksheet Number Doesn't Exist setting will also display.---

Worksheet IndexesWorksheet numbers to remove the headers/footers from. This index field is zero-based.---
Input FileDesired File to remove the headers/footersFileData
Input File TypeDefines the type of file used as an input to the step. Currently, the options are Csv, Excel_xls, Excel_xlsx, and AutoSelect.CSVFileType

Outputs

PropertyDescriptionData Type
Done

Output FileOutputs the Excel document without the Headers/Footers.File Data
Failed

ErrorThe step will output a detailed error message, for example: "Worksheet(s) 3 invalid. Valid Worksheet Indexes are 0 to 0.".String

Error Handling

PropertyDescriptionData Type
Worksheet Number Doesn't ExistThis setting is shown when the From Entire Workbook setting is set to "False".---

Ignore and Continue (add output message)The Flow will continue down the "Done with Errors" outcome path if the worksheet indexes are not found. The step will output the file with a detailed error message, for example: "Worksheet(s) 3 invalid. Valid Worksheet Indexes are 0 to 0.".---

Ignore and ContinueThe step will output the file and continue down the "Done" outcome path.---

Throw ExceptionThe Flow will navigate down the "Failed" outcome path.---


Was this article helpful?