Set the font size for an Excel area

更新时间:
复制 MD 格式

1. Component description

Note

Prerequisites: Start Excel or Get Opened Excel

This component sets the font size for a specified area in an Excel sheet.

2. Inputs

Note

For details about each input, see the help information in the component pane of the application flow editor.

3. Outputs

Note

For details about each output, see the help information in the component pane of the application flow editor.

4. Component example

4.1. Example configuration

  1. For Opened sheet object, select v_Sheet_obj_1, which is the output of a prerequisite component such as Get Active Sheet or Activate Sheet.

  2. For Start row number of area, keep the default value "1".

  3. For Start column letter of area, keep the default value "A".

  4. For End row number of area, keep the default value "2".

  5. For End column letter of area, keep the default value "C".

  6. For Font size in area, set the value to "20".

  7. Keep the default values for the advanced options.

4.2. Example result

None

5. Example flow

Setup flow

  1. Use the Start Excel component to start a specified Excel file.

  2. Use the Get Active Sheet component to retrieve the active sheet object.

  3. Use the Set Font Size for Excel Area component to set the font size for the specified area.

image

Result

After the flow is run, the font size in the specified area of the sheet changes from 11 to 20. The following figures show the result.