
## set_style(self, style) {#aspose.cells.Style}

Sets the style of the range.



```python

def set_style(self, style):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| style | aspose.cells.Style | The Style object. |


## set_style(self, style, explicit_flag) {#aspose.cells.Style-bool}

Apply the cell style.



```python

def set_style(self, style, explicit_flag):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| style | aspose.cells.Style | The cell style. |
| explicit_flag | bool | True, only overwriting formatting which is explicitly set. |



### See Also
* module [`aspose.cells`](../../)
* class [`Range`](/cells/python-net/aspose.cells/range)
