Created
October 31, 2024 18:38
-
-
Save conholdate-gists/f7700e8edf7b6316ae1df4a484526917 to your computer and use it in GitHub Desktop.
Convert MPP to Excel XLSX in C# | Microsoft Project File to Excel XLS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Load the input MPP file | |
Aspose.Tasks.Project project = new Aspose.Tasks.Project("New Project.mpp"); | |
// Initiate XlsxOptions class object | |
Aspose.Tasks.Saving.XlsxOptions options = new Aspose.Tasks.Saving.XlsxOptions(); | |
options.PageSize = Aspose.Tasks.Visualization.PageSize.A4; | |
// Convert MS Project MPP to Excel XLSX | |
project.Save("MS Project.xlsx", options); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Load the input Project file | |
Aspose.Tasks.Project project = new Aspose.Tasks.Project("New Project.mpp"); | |
// Convert MPP to Excel | |
project.Save("MS Project.xlsx", Aspose.Tasks.Saving.SaveFileFormat.Xlsx); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment