Skip to main content

Table To Excel (Conversion Tools)

Summary

Converts a table to a Microsoft Excel file (.xls or .xlsx).

Usage

  • The extension of the output file controls the output Excel format. If the extension is .xls, the file format will be Excel Binary File Format. If the extension is .xlsx, the file format will be Office Open XML.

  • The .xls file has a limitation of 65,535 rows and 256 columns.

  • The output Excel file can contain multiple sheets. The name of each sheet will be the same as the name of the corresponding input table without the .xls or .xlsx file extension.

    Note:

    The order of appearance for the worksheets will be the same order as they are listed in the parameter. If there is a naming conflict, a number will be appended to the sheet name to ensure that each name remains unique.

  • When converting a table, Timestamp offset fields will be written to Excel as ISO 8601 string values.

Parameters

Label Explanation Data type

Input Table

The table or tables to be converted to an Excel file.

Table View

Output Excel File (.xls or .xlsx)

The output Excel file. Specify the format of the Excel file using the .xls or .xlsx file extension.

File

Use field alias as column header

(Optional)

Specifies whether input field names or field aliases will be used as the output column names.

  • CheckedColumn headers will be set using the input geodatabase table's field aliases. If the input is a layer in a map, the value set on the layer's field alias is ignored.

  • UncheckedColumn headers will be set using the input field names. This is the default.

Boolean

Use domain and subtype description

(Optional)

Specifies whether values from subtype fields or fields with a coded value domain will be transferred to the output.

  • CheckedFor subtype fields, the subtype description will be used. For fields with a coded value domain, the coded value descriptions will be used.

  • UncheckedAll field values will be used as they are stored in the table. This is the default.

Boolean

Environments

Current Workspace, Scratch Workspace, Transfer Field Domain Descriptions, Transfer Geodatabase Field Properties

Licensing information

  • Basic: Yes
  • Standard: Yes
  • Advanced: Yes