Specify Document Version of the Excel File using BuiltIn Document Properties

Possible Usage Scenarios

You can change the Version number of an Excel file by right‑clicking the file, then selecting Properties > Details, and then editing the Version number field. Please use BuiltInDocumentPropertyCollection.DocumentVersion property to change it programmatically using Aspose.Cells 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, including Title, Author(s), and the Version number. Please see the output Excel file generated by the code and a screenshot that shows the modified Version number using the BuiltInDocumentPropertyCollection.DocumentVersion property.

todo:image_alt_text

Sample Code