📜  高级Excel-文件格式

📅  最后修改于: 2020-11-21 08:07:40             🧑  作者: Mango


以其他文件格式保存工作簿

保存Excel 2013工作簿时,默认情况下,它以.xlsx格式保存。 Excel 2013支持以其他格式保存,但是每当您以另一种文件格式保存工作簿时,其某些格式,数据和功能可能都不会保存。

Excel 2013支持的文件格式(文件类型)-

  • Excel档案格式
  • 文字档案格式
  • 其他档案格式

Excel档案格式

Format Extension Description
Excel Workbook .xlsx The default XML-based file format for Excel 2007-2013. Cannot store Microsoft Visual Basic for Applications (VBA) macro code or Microsoft Office Excel 4.0 macro sheets (.xlm).
Strict Open XML Spreadsheet .xlsx An ISO strict version of the Excel Workbook file format (.xlsx).
Excel Workbook (code) .xlsm The XML-based and macro-enabled file format for Excel 2007-2013. Stores VBA macro code or Excel 4.0 macro sheets (.xlm)
Excel Binary Workbook .xlsb The binary file format (BIFF12) for Excel 2007-2013.
Template .xltx The default file format for an Excel template for Excel 2007-2013. Cannot store VBA macro code or Excel 4.0 macro sheets (.xlm).
Template (code) .xltm The macro-enabled file format for an Excel template in Excel 2007-2013. Stores VBA macro code or Excel 4.0 macro sheets (.xlm).
Excel 97- Excel 2003 Workbook .xls The Excel 97 – Excel 2003 Binary file format (BIFF8).
Excel 97- Excel 2003 Template .xlt The Excel 97 – Excel 2003 Binary file format (BIFF8) for an Excel template
Microsoft Excel 5.0/95 Workbook .xls The Excel 5.0/95 Binary file format (BIFF5).
XML Spreadsheet 2003 .xml XML Spreadsheet 2003 file format (XMLSS).
XML Data .xml XML Data format.
Excel Add-In .xlam The XML-based and macro-enabled Add-In format for Excel 2007-2013. An Add-In is a supplemental program that is designed to run additional code. Supports the use of VBA projects and Excel 4.0 macro sheets (.xlm).
Excel 97-2003 Add-In .xla The Excel 97-2003 Add-In, a supplemental program that is designed to run additional code. Supports the use of VBA projects.
Excel 4.0 Workbook .xlw An Excel 4.0 file format that saves only worksheets, chart sheets, and macro sheets. You can open a workbook in this file format in Excel 2013, but you cannot save an Excel file to this file format.

文字档案格式

如果您以任何文本格式保存工作簿,则所有格式都会丢失。

Format Extension Description
Formatted Text (Spacedelimited) .prn Lotus space-delimited format. Saves only the active sheet.
Text (Tabdelimited) .txt Saves a workbook as a tab-delimited text file for use on another Microsoft Windows operating system, and ensures that tab characters, line breaks, and other characters are interpreted correctly. Saves only the active sheet.
Text (Macintosh) .txt Saves a workbook as a tab-delimited text file for use on the Macintosh operating system, and ensures that tab characters, line breaks, and other characters are interpreted correctly. Saves only the active sheet.
Text (MS-DOS) .txt Saves a workbook as a tab-delimited text file for use on the MS-DOS operating system, and ensures that tab characters, line breaks, and other characters are interpreted correctly. Saves only the active sheet.
Unicode Text .txt Saves a workbook as Unicode text, a character encoding standard that was developed by the Unicode Consortium.
CSV (comma delimited) .csv Saves a workbook as a comma-delimited text file for use on another Windows operating system, and ensures that tab characters, line breaks, and other characters are interpreted correctly. Saves only the active sheet.
CSV (Macintosh) .csv Saves a workbook as a comma-delimited text file for use on the Macintosh operating system, and ensures that tab characters, line breaks, and other characters are interpreted correctly. Saves only the active sheet.
CSV (MS-DOS) .csv Saves a workbook as a comma-delimited text file for use on the MS-DOS operating system, and ensures that tab characters, line breaks, and other characters are interpreted correctly. Saves only the active sheet.
DIF .dif Data Interchange Format. Saves only the active sheet.
SYLK .slk Symbolic Link Format. Saves only the active sheet.

其他档案格式

Format Extension Description
DBF 3, DBF 4 .dbf dBase III and IV. You can open these files formats in Excel, but you cannot save an Excel file to dBase format.
OpenDocument Spreadsheet .ods OpenDocument Spreadsheet. You can save Excel 2010 files so they can be opened in spreadsheet applications that use the OpenDocument Spreadsheet format, such as Google Docs and OpenOffice.org Calc. You can also open spreadsheets in the .ods format in Excel 2010. Formatting might be lost when saving and opening .ods files.
PDF .pdf Portable Document Format (PDF). This file format preserves document formatting and enables file sharing. When the PDF format file is viewed online or printed, it retains the format that you intended. Data in the file cannot be easily changed. The PDF format is also useful for documents that will be reproduced by using commercial printing methods.
XPS Document .xps XML Paper Specification (XPS). This file format preserves document formatting and enables file sharing. When the XPS file is viewed online or printed, it retains exactly the format that you intended, and the data in the file cannot be easily changed.

步骤1-选择“文件”菜单。

步骤2-单击选项另存为。您可以选择在本地设备(例如计算机)和Internet(例如OneDrive)上保存工作簿的位置。

步骤3-单击“计算机”

文件菜单

另存为”对话框打开。

另存为文件类型

步骤4-单击另存为类型。文件格式将列出。

另存为类型

显示的文件格式取决于工作簿中活动工作表的类型(数据工作表,图表工作表或其他类型的工作表)。

步骤5-单击所需的文件格式。

使用剪贴板的文件格式

您可以使用剪贴板以几种文件格式将数据复制到剪贴板,您可以使用“粘贴”或“选择性粘贴”命令将其粘贴到Excel中。

Format Extension Clipboard Type Identifiers
Picture .wmf or .emf

Pictures in Windows Metafile Format (WMF) or Windows Enhanced Metafile Format (EMF).

NOTE − If you copy a Windows metafile picture from another program, Excel pastes the picture as an enhanced metafile.

Bitmap .bmp Pictures stored in Bitmap format (BMP).
Microsoft Excel file formats .xls Binary file formats for Excel versions 5.0/95 (BIFF5), Excel 97-2003 (BIFF8), and Excel 2013 (BIFF12).
SYLK .slk Symbolic Link Format.
DIF .dif Data Interchange Format.
Text (tabdelimited) .txt Tab-separated text format.
CSV (Commadelimited) .csv Comma-separated values format.
Formatted text (Space-delimited) .rtf Rich Text Format (RTF). Only from Excel.
Embedded object .gif, .jpg, .doc, .xls, or .bmp Microsoft Excel objects, objects from properly registered programs that support OLE 2.0 (OwnerLink), and Picture or another presentation format.
Linked object .gif, .jpg, .doc, .xls, or .bmp OwnerLink, ObjectLink, Link, Picture, or other format.
Office drawing object .emf Office drawing object format or Picture (Windows enhanced metafile format, EMF).
Text .txt Display Text, OEM Text.
Single File Web Page .mht, .mhtml Single File Web Page (MHT or MHTML). This file format integrates inline graphics, applets, linked documents, and other supporting items referenced in the document.
Web Page .htm, .html

Hypertext Markup Language (HTML).

NOTE − When you copy text from another program, Excel pastes the text in HTML format, regardless of the format of the original text.

Excel 2013不支持的文件格式

Excel 2013不再支持以下文件格式,并且您无法以这些文件格式打开或保存文件。

Format Extension Clipboard Type Identifiers
Excel Chart .xlc Excel 2.0, 3.0, and 2.x file formats
WK1, FMT, WK2, WK3, FM3, WK4 .wk1, .wk2, .wk3, .wk4, .wks Lotus 1-2-3 file formats (all versions)
Microsoft Works .wks Microsoft Works file format (all versions)
DBF 2 .dbf DBASE II file format
WQ1 .wq1 Quattro Pro for MS-DOS file format
WB1, WB3 .wb1, .wb3 Quattro Pro 5.0 and 7.0 for Windows.

如果您必须在不再受支持的程序中使用Workbook数据,请尝试以下操作-

  • 在网络上搜索一家将文件格式转换器转换为Excel 2013不支持的文件格式的公司。

  • 将您的工作簿保存为可以在其他程序中打开的其他文件格式。例如,保存到其他程序也可能支持的XML电子表格或文本文件格式。