# Copy Cell Style

Copies the style of one cell to another cell.


---

### :arrow_left:**INPUT**

| **Parameter** | **Type** | **Required** | **Description** |
|-----------|------|----------|-------------|
| `FilePath` | `String` | ✅Yes     | Excel file path |
| `Data`    | `Byte[]` | ✅Yes     | Excel file data (byte array) |
| `SheetName` | `String` | ❌No      | Target sheet name |
| `FromCell` | `String` | ✅Yes     | Source cell address |
| `ToCell`  | `String` | ✅Yes     | Target cell address |
| `IncludeFormula` | `Boolean` | ❌No      | Whether to copy the formula as well |


---

### :arrow_right:**OUTPUT**

| **Parameter** | **Type** | **Description** |
|-----------|------|-------------|
| `IsCopyCellStyleSuccessful` | `Boolean` | Whether the operation succeeded |
| `CopyCellStyleMessage` | `String` | Operation result message |
| `CopyCellStyleResult` | `Byte[]` | Updated Excel file |


---

### :arrow_down:**MISC**

| **Parameter** | **Type** | **Default** | **Description** |
|-----------|------|---------|-------------|
| `ThrowException` | `Boolean` | ❌No     | Specifies whether an exception is thrown when the operation fails. The default value is "**No**". |