Skip to content

Set Column Width

Function Description

TIP

Set column width

Set Column Width

Configuration Item Description

General

Command Input

  • Excel InstanceTWorkbookApplication: Enter an Excel instance obtained through the function 'Open or New Excel'/'Get currently active Excel object'

  • Column Namestring: Enter the column name (supports A or 1), use A,B,C or A:C for multiple columns

  • ModeInteger: Choose the method to set the column width

  • Column WidthInteger: Enter the column width

  • Sheet Namestring: 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 LogsBoolean: Whether to print error logs to the "Logs" panel when the command fails. Default is checked.

  • Handling MethodInteger:

    • 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