Excel Sorting
Function Description
TIP
Perform ascending, descending, or custom sort on specified columns in Excel
Configuration Item Description
General
Command Input
Excel Instance
TWorkbookApplication
: Input an Excel instance obtained through 'Open or Create Excel'/'Get currently active Excel instance' functionSort Method
Integer
: Select the sort methodSort Column
string
: Enter the column name (supports A or 1), use A,B,C or A:C for multiple columns, -N represents the nth to last columnExpand Selected Range
Boolean
: Expand Selected RangeExclude First Row from Sort
Boolean
: If checked, the first row will not be included in the sortCustom List
string
: Custom sequence, such as: Sun, Mon, Tue, Wed, Thu, Fri, SatCustom Sort Column
string
: Enter the column name (supports A or 1), use A,B,C or A:C for multiple columns, -N represents the nth to last columnRegion Type
Integer
: Select the sort region typeStart Row Number
Integer
: Row number. Starts from 1Start Column Name
string
: Column name. Starts with AEnd Row Number
Integer
: Row number. Starts from 1End Column Name
string
: Column name. Starts with ARow Number
Integer
: Row number. Starts from 1Column Name
string
: Column name. Starts with ASheet Name
string
: Worksheet name
Command Output
No output for the current command
Advanced
- Delay Before(milliseconds)
Integer
: The waiting time before instruction execution
Error Handling
Print Error Logs
Boolean
: Whether to print error logs to the "Logs" panel when the command fails. Default is checked.Handling Method
Integer
:Terminate Process: If the command fails, terminate the process.
Ignore Exception and Continue Execution: If the command fails, ignore the exception and continue the process.
Retry This Command: If the command fails, retry the command a specified number of times with a specified interval between retries.
Usage Example
Process logic description:
Common Errors and Handling
None
Frequently Asked Questions
None