Description

Adds the information stored in a DataTable variable to the end of a specified Excel spreadsheet.



Attributes

Input

  • DataTable - The data to be added. Only supports DataTable variables.

  • Worksheet - The name of the sheet where the range would be appended.

Common

  • ContinueOnError - The Boolean value to specify whether to continue executing the next activities even if there is an error thrown on this activity.

Misc

  • DisplayName - Renames the activity.


Example

  1. Create a DataTable variable called dt.
  2. Add a Generate Data Table activity, and in the DataTable field in its Properties, add the dt variable.
  3. Still under Properties, in the ColumnSeparators, type ";" and in the NewLineSeparator field, type "|".
  4. In the Generate Data Table Input field, type "1; Nicole|2; John|3; Michael".
  5. After the Generate Data Table, add an Excel Sequence activity.
  6. In the Excel Sequence File Path field, search for and then select your Spreadsheet document by, first, clicking the browse button.
  7. Inside the Excel Sequence, add an Append Range activity, and in the Worksheet field, write "Sheet2" (or the name of your own worksheet).
  8. In the Excel Sequence DataTable field, add dt

    The use case should look as the following screenshot.



After execution, the contents of the dt variable should be appended in Sheet2 of the specified Spreadsheet document.