##  auto_fill(self, target) {#aspose.cells.Range}
Remplir automatiquement la plage cible.



```python

def auto_fill(self, target):
    ...
```


| Paramètre| Taper| Description|
| :- | :- | :- |
| target | [`Range`](/cells/python-net/fr/aspose.cells/range) | la plage cible.|

###  Exemple

```python
from aspose.cells import Workbook

# Instantiating a Workbook object
workbook = Workbook()
#  Get the first Worksheet Cells.
cells = workbook.worksheets[0].cells
cells.get("A1").put_value(1)
cells.get("A2").put_value(2)
source = cells.create_range("A1:A2")
target = cells.create_range("A3:A10")
# fill 3,4,5....10 to the range A3:A10
source.auto_fill(target)
# Save the Excel file
workbook.save("book1.xlsm")

```


##  auto_fill(self, target, auto_fill_type) {#aspose.cells.Range-aspose.cells.AutoFillType}
Remplir automatiquement la plage cible.



```python

def auto_fill(self, target, auto_fill_type):
    ...
```


| Paramètre| Taper| Description|
| :- | :- | :- |
| target | [`Range`](/cells/python-net/fr/aspose.cells/range) | La gamme ciblée.|
| auto_fill_type | [`AutoFillType`](/cells/python-net/fr/aspose.cells/autofilltype) | Le type de remplissage automatique.|



###  Voir également
* module [`aspose.cells`](../../)
* classe [`Range`](/cells/python-net/fr/aspose.cells/range)
