1. Introduction
Prerequisites: Start Excel or Get Opened Excel
This component sets the column width for a range of cells.
2. Input parameters
See the help for each input item in the component panel of the application flow editor.
3. Output parameters
For help with each output, see the component panel of the ROS Visual Editor.
4. Component usage example
4.1. Component configuration example
For
Opened Sheet Object, select v_Sheet_obj_1, which is the object returned by the Get Active Sheet or Activate Sheet component.Set
Start Column of Rangeto "A".Set
End Column of Rangeto "B".Set
Methodto "Autofit to content".Default Values for Advanced Options
4.2. Result
None
5. Sample flow
Setup flow
Use the Start Excel component to open a specific Excel file.
Use the Get Active Sheet component to retrieve the active sheet object.
Use the Set Row Height for a Range component to autofit the row height to the content in a specific range.
Use the Set Column Width for a Range component to autofit the column width to the content in a specific range.
Result
After the flow runs, the column width for the specified cell range is automatically adjusted to fit the content.