Set Cell Color

Sets the fill background color of a cell or range.

Behaviour

Risk: Low · Idempotent: Yes · Safe to retry: Yes · Recovery: Not replayed after a crash

Package Excel activities Velophex.Excel.Activities 0.7.1-rc.7 · Supported (Core profile) · type id velophex.excel.setCellColor

Properties#

Input#

Sheet#

Sheet · String · Required · Default: Sheet1

Worksheet name.

Range#

Range · String · Optional · Default: Not specified in package metadata

Cell or range (e.g. B2 or A1:C5). Default is used range.

Color#

Color · String · Required · Default: Not specified in package metadata

Hex color (e.g. #FFFF00) or standard color name (e.g. Yellow, Red, LightBlue).

Workbook#

Workbook · ExcelWorkbookReference · Optional · Default: Not specified in package metadata

The Excel file to use. Empty uses the innermost enclosing Use Excel File; set it to the Reference As name of a Use Excel File to use that one.

Rules#

  • Must be inside Use Excel File.

Retry and risk#

This activity is safe to retry: running it again after a transient failure does not repeat a side effect. If a run is interrupted and the outcome of a step is unknown, the step is never retried automatically (what to do). How activities declare this: characteristics, retries and risk.

Every activity also has the engine's common properties: Timeout and Continue On Error.

Generated from Velophex.Excel.Activities 0.7.1-rc.7. Category: Excel. Keywords: excel, workbook, xlsx, spreadsheet, color, background, format, style.

Properties

Input

Rules

Retry and risk

Related activities