Excel dosyasının otomatik doldurulmasının aralığı
Contents
[
Hide
]
Belirtilen aralıkta Excel’de otomatik doldurma yapın
Excel’de bir aralık seçin, Fareyi sağ aşağıya doğru hareket ettirin, verileri otomatik doldurmak için “+” çekin.
Aspose.Cells ile Python Excel Kütüphanesi ile Otomatik Doldurma Aralıkları
Aşağıdaki örnek, Aralık için Otomatik Doldurma işleminin nasıl yapıldığını gösterir ve bu özelliği test etmek için indirilebilecek örnek dosya burada:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from aspose.cells import AutoFillType, Workbook | |
# For complete examples and data files, please go to https:# github.com/aspose-cells/Aspose.Cells-for-.NET | |
# Create a Workbook | |
workbook = Workbook("range_autofill.xlsx") | |
# Get Cells | |
cells = workbook.worksheets[0].cells | |
# Create Range | |
src = cells.create_range("C3:C4") | |
dest = cells.create_range("C5:C10") | |
# AutoFill | |
src.auto_fill(dest, AutoFillType.SERIES) | |
# Save the Workbook | |
workbook.save("range_autofill_result.xlsx") |