Saving Project Data to Excel Format

Saving Project Data to Excel Format

The Project class exposes the save method which is used to save a project in various formats. The save method allows you to save project tasks, resources and assignments to separate worksheets to XLSX format using the SaveFileFormat enumeration type.

To save a project to XLSX:

  1. Load a Microsoft Project file.
  2. Save the project to XLSX using SaveFileFormat.XLSX.

Saving a Project as XLSX

The following lines of code shows how to achieve this using Java

Save Project Data to Spreadsheet2003 XML

There are two ways to save data to Spreadsheet2003 XML format: default, or using save options. Using the SaveFileFormat instance, the default view data is saved.