Skip to main content

FitColumn

Automatically adjusts the width of a specific column in an Excel worksheet to fit its content.

Core Functions

  • Analyzes column content
  • Auto-resizes the selected column width

Inputs

  • FilePath: Specifies the file path of the Excel file to be updated
    Type: String

  • WorksheetName: Specifies the name of the worksheet containing the target column
    Type: String

  • ColumnIndex: Specifies the index of the column to be auto-fitted
    Type: Integer

Outputs

  • Output: This activity does not return a direct output value
    Type: None

Short Technical Summary

Auto-fits the width of a single column in an Excel worksheet based on its content.