XML file name extensions in Office 2010

 

Applies to: Office 2010

Topic Last Modified: 2011-05-19

Banner stating end of support date for Office 2010 with link to more info

The Open XML file formats and their extensions that are used by Microsoft Word 2010, Microsoft Excel 2010, and Microsoft PowerPoint 2010 are listed in the following tables. For a list of all file formats and extensions that are supported by Word, Excel, and PowerPoint, see File formats supported in Office 2010.

Word 2010 or Word 2007 file type Extension Description

Word Document

.docx

The default Word file format. Cannot store VBA macro code.

Word Macro-Enabled Document

.docm

Uses the same basic XML format as the Word document format, but can store VBA macro code. This file type is created when VBA macro code is present in the file.

Word Template

.dotx

The default format for a Word template. Created when document styles and formatting are saved. Cannot store VBA macro code.

Word Macro-Enabled Template

.dotm

Stores macro code for use with other Word documents. Does not always contain macro code, but is configured to support the storage of macro code. Word documents created from a macro-enabled template do not inherit the VBAProject part of the template. By default, documents are saved as .docx files even when they are created from a Word macro-enabled template.

Excel 2010 or Office Excel 2007 file type Extension Description

Excel Workbook

.xlsx

The default Excel file format. Cannot store VBA macro code or Microsoft Excel 4.0 macro sheets (.xlm files in Excel 4.0).

Excel Macro-Enabled Workbook

.xlsm

Uses the same basic XML format as the Excel Workbook, but can store VBA macro code. Users saving an Excel workbook that has VBA code or Excel 4.0 macro sheets (.xlm files in Excel 4.0) are prompted to use this file format.

Excel Template

.xltx

The default file format for an Excel template. Cannot store VBA macro code or Excel 4.0 macro sheets (.xlm files in Excel 4.0).

Excel Macro-Enabled Template

.xltm

Can contain a VBAProject part or Excel 4.0 macro sheets (.xlm files in Excel 4.0). Workbooks created from this template inherit the VBAProject part or Excel 4.0 macro sheets that exist in the template.

Excel Add-In

.xlam

A supplemental program that runs additional code. Excel add-ins use the Open XML file format to store data, and they support using VBA projects and Excel 4.0 macro sheets.

PowerPoint 2010 or PowerPoint 2007 file type Extension Description

PowerPoint Presentation

.pptx

The default PowerPoint XML format. Cannot contain a VBAProject part (the part that stores VBA macro code) or Action settings.

PowerPoint Macro-Enabled Presentation

.pptm

The same basic XML format as the PowerPoint XML presentation format, but can store VBA macro code. Users saving a PowerPoint XML presentation file that contains VBA macro code are prompted to use this file type.

PowerPoint Template

.potx

An XML-based PowerPoint template. Created when a presentation does not have a VBAProject part and does not use Action settings.

PowerPoint Macro-Enabled Template

.potm

Users saving a PowerPoint XML template that contains VBA macro code are prompted to use this file type. Presentations created from this template do not inherit the VBAProject part or Action settings.

PowerPoint Add-In

.ppam

PowerPoint presentation designed to be executed as a supplemental program. All PowerPoint add-ins are macro-enabled.

PowerPoint Show

.ppsx

An XML-based PowerPoint auto-running slide show. Cannot contain a VBAProject part.

PowerPoint Macro-Enabled Show

.ppsm

An XML-based PowerPoint slide show file that contains a VBAProject part. Created when the auto-running slide show includes VBA macro code.