Office.RangeFormatConfiguration interface

Specifies a range and its formatting.

Properties

cells

Specifies the range. Example of using Office.Table enum: Office.Table.All. Example of using RangeCoordinates: {row: 3, column: 4} specifies the cell in the 3rd (zero-based) row in the 4th (zero-based) column.

format

Specifies the formatting as key-value pairs. Example: {borderColor: "white", fontStyle: "bold"}

Property Details

cells

Specifies the range. Example of using Office.Table enum: Office.Table.All. Example of using RangeCoordinates: {row: 3, column: 4} specifies the cell in the 3rd (zero-based) row in the 4th (zero-based) column.

cells: Office.Table | RangeCoordinates

Property Value

format

Specifies the formatting as key-value pairs. Example: {borderColor: "white", fontStyle: "bold"}

format: object

Property Value

object