Microsoft Excel

Sort Worksheet

Activity sorts an Excel worksheet.

Fill in Sort By Column to choose a column and Sort Order to specify if you want the worksheet to be sorted Ascending or Descending.

Optionally specify with Headline Row, if first row is meant to be treated as column headers and ignored (default is False)

sortworksheets1
sortworksheets2
Acquired TextStringOutputtext input by user
Alternative Scenario If FailedBooleanInputcheckbox; default is "on"
Display NameLiteralInputchanges display name of the activity
Exclude from Transaction CheckBooleanInputcheckbox; default is "off"
Retry Timeout [s]DoubleInputdetermines behaviour if the activity fails to execute. value < 0: try executing once, 0: try indefinitely; value >0: time in seconds during which the activity repeatedly tries to execute (if time elapses without success then Result = False, end activity)
Workbook NameStringInputcustom internal name Wizlink will use to identify the workbook
Worksheet NameStringInputname of the Excel sheet
Sort OrderDropdownInputselect sort order from the dropdown list
Sort By ColumnInt32Inputcolumn number in Excel to sort worksheet by
Headline RowBooleanInputexpression; default is "false". Set to true, if the first row of the worksheet contains column names
ResultBooleanOutputreturns a Boolean value. True if no error in activity, otherwise will return False
Result CodeInt32OutputResult Code will return 0 if there is no error in activity, otherwise in most cases will return 1. See the table of Extended Result Codes for more info