Set Excel area font color

更新时间:
复制 MD 格式

1. Component description

Note

Prerequisite components: Launch Excel or Get opened Excel

This component sets the font color for a specified area.

2. Inputs

Note

For information about each input, see the component panel in the application flow editor.

3. Outputs

Note

For information about each output, see the component panel in the application flow editor.

4. Component usage example

4.1. Component configuration example

  1. Set Opened sheet object to 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, use the default value "1".

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

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

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

  6. For Font color in area, select red.

  7. Keep the default values for the advanced options.

4.2. Example result

None

5. Example of building a flow

Setup flow

  1. Use the Launch Excel component to launch a specified Excel file.

  2. Use the Get active sheet component to obtain the active sheet object.

  3. Use the Set Excel area font color component to set the font color for a specified area.

image

Result

After the flow runs, the font color in the specified area of the table changes from black to red.