Specify Document Version of the Excel File using BuiltIn Document Properties

Possible Usage Scenarios

You can change the Version number of the Excel file by right‑clicking the file, selecting Properties > Details, and then editing the Version number field. Please use BuiltInDocumentPropertyCollection.document_version property to change it programmatically using Aspose.Cells for Python via .NET APIs.

Specify Document Version of the Excel File using BuiltIn Document Properties

The following sample code creates a workbook and changes its built‑in document properties that include Title, Authors, and Version number. Please see the output Excel file generated by the code and the screenshot that shows the modified version number by the BuiltInDocumentPropertyCollection.document_version property.

todo:image_alt_text

Sample Code