Specify Document Version of the Excel File using Built‑In Document Properties with Golang via C++

Possible Usage Scenarios

You can change the Version number of an Excel file by right‑clicking the file, selecting Properties > Details, and then editing the Version number field. Please use BuiltInDocumentPropertyCollection.GetDocumentVersion() property to change it programmatically using Aspose.Cells APIs.

Specify Document Version of the Excel File using Built‑In Document Properties

The following sample code creates a workbook and changes its built‑in document properties, including Title, Author, and Version number. Please see the output Excel file generated by the code and a screenshot that shows the modified Version number using the BuiltInDocumentPropertyCollection.GetDocumentVersion() property.

todo:image_alt_text

Sample Code