ExcelStyle_Apply

Description

Takes a style that already exists in workbook’s collection of styles and applies it to a specific cell.


Cell Search

SearchMode ESearchCellMode

Indicates how to search for the cell: by coordinates or by name.


Cell Search - By Coordinates

ColIndex InArgument<Int32>

The column index of the cell to set the value on.

RowIndex InArgument<Int32>

The row index of the cell to set the value on.


Cell Search - By Name

CellName InArgument<String>

The name of the Cell to set the value on.


Input

Workbook InArgument<Workbook> REQUIRED

The excel Workbook.

It is possible to obtain a new workbook with the activity ExcelWorkbook_New or to get it from an existing file with ExcelWorkbook_Get.

WorksheetName InArgument<String> REQUIRED

The name of the Worksheet where the cell is.


Style

StyleName InArgument<String> REQUIRED

The name of the style to apply.