Blocca i riquadri in Python

Aspose.Cells - Congelamento Riquadri

Per bloccare i riquadri nel documento del foglio di calcolo utilizzandoAspose.Cells Java for Python , semplicemente invocareFreezePanes modulo.

Python Cod

 workbook = self.Workbook(self.dataDir + "Book1.xls")

# Accessing the first worksheet in the Excel file

worksheets = workbook.getWorksheets()

worksheet = worksheets.get(0)

# Applying freeze panes settings

worksheet.freezePanes(3,2,3,2)

# Saving the modified Excel file in default format

workbook.save(self.dataDir + "book.out.xls")

# Print Message

print "Panes freeze successfull."

Scarica il codice in esecuzione

ScaricamentoHello World (Aspose.Cells) da uno qualsiasi dei siti di social coding sotto indicati: