Microsoft Project MPP 파일을 Excel로 변환하십시오
Microsoft Project를 사용하면 사용자가 프로젝트의 데이터를 Microsoft Excel에서 지원하는 형식으로 ( 스프레드 시트 2003 XML 또는 XLSX 형식)로 내 보낼 수 있습니다.
프로젝트 데이터를 Excel 형식으로 내보내는 단계입니다.
Microsoft Project에서 프로젝트가 열렸다고 가정 해 봅시다.
- “파일 \ 저장으로"메뉴 항목을 선택하십시오
- 위치 선택 (예 : “이 PC”)
- “Save AS"Save As “DINGEL SELECT ‘EXCEL WORKBOOKS (. XLSX)‘또는 ‘Excel 97-2003 Workbook (.XLS)‘형식은"유형으로 저장 “드롭 다운입니다.
- “저장"버튼을 클릭하십시오
- Export Wizard에서 “Project Excel Template"중 하나를 선택하여 기본 설정 또는 “선택한 데이터"를 적용하여 출력을 사용자 정의하십시오.
기본 설정이 적용되면 출력 Excel 통합 문서는 다음과 같이 보입니다.
Microsoft Project MPP 파일을 Microsoft Excel 스프레드 시트 파일 형식 SpreadSheet2003 XML 또는 XLSX .NET API 용 Aspose.Task를 프로그래밍 방식으로 사용합니다. 이 경우 컴퓨터에 Microsoft 프로젝트를 설치할 필요가 없습니다.
MS Project MPP 파일 변환 스프레드 시트 2003 XML (Excel 2003)로 변환
프로젝트를 Spreadsheet2003 XML 형식으로 변환하는 두 가지 방법이 있습니다. 첫 번째는 savefileformat 열거를 사용하는 것입니다. 두 번째는 SpreadSheet2003SaveOptions 클래스를 사용하는 것입니다.
MS Project MPP 파일을 스프레드 시트로 변환하려면 SaveFileformat을 사용하여 기본 설정을 사용하여 SpreadSheet2003 XML 형식으로 변환합니다.
- 새 프로젝트 인스턴스를 작성하고 MPP 파일을로드하십시오.
- project.save 메소드를 사용하여 프로젝트를 스프레드 시트 2003 XML로 변환하고 SaveFileformat.spreadsheet2003을 인수로 지정하십시오.
다음 줄의 코드는 .NET에서이를 달성하는 방법을 보여줍니다.
To convert MPP files with a non-default settings the Spreadsheet2003SaveOptions class can be used. With this class one can specify additional options to customize the resulting Spreadsheet2003 XML.
- Create a new project instance and load the MPP file.
- Create an instance of Spreadsheet2003SaveOptions.
- Customize view using properties of Spreadsheet2003SaveOptions class.
- Convert the project to Excel using Project.Save method and pass the Spreadsheet2003SaveOptions instance as the argument.
Presented below is .NET example showing how to use the convert options:
Convert MS Project MPP files to Excel XSLX (Excel 2007 and later)
The Project class exposes the Save method which is used to save a project in various formats. The Project.Save method allows you to export project tasks, resources and assignments to separate worksheets to Microsoft Excel XLSX format using the SaveFileFormat enumeration type or the XlsxOptions class.
In order to convert MS Project MPP file to XLSX format with default settings using SaveFileFormat:
- Create a new project instance and load the MPP file.
- Convert the project to Excel XLSX using Project.Save method and specify the SaveFileFormat.XLSX as the argument.
The following lines of code show how to achieve this in .NET:
To convert MPP files with a non-default settings the XlsxOptions class is provided. With this class one can specify additional options to customize the resulting XLSX file.
- Create a new project instance and load the MPP file.
- Create an instance of XlsxOptions.
- Customize view using properties of XlsxOptions class.
- Convert the project to Excel using Project.Save method and pass the XlsxOptions instance as the argument.
Presented below is .NET example showing how to use the options:
Converting MS Project MPP file as CSV
In order to learn how to export MS Project MPP file to CSV please read the article.