PROBLEM

Unable to export an attribute table to an Excel file in ArcGIS Pro

Last Published: January 21, 2021

Description

When attempting to export an attribute table to an Excel file using the Table To Excel geoprocessing tool in ArcGIS Pro, the tool fails and returns the following error message:

Error:   
Table To Excel failed.
Image of the error message
Image of the detailed error message

Cause

This issue occurs when the layer name or attribute table contains Unicode symbols or characters.

Solution or Workaround

Use one of the options provided to resolve this issue.

Remove the Unicode symbol from the layer name

  1. Open the ArcGIS Pro project. In the Contents pane, browse to and double-click the layer.
  2. In the Layer Properties: <layer_name> window, click the General tab.
  3. In the Name section, rename the layer or remove the Unicode symbol, and click OK. In this example, the Unicode symbol is removed from the layer’s name.
Image of the Layer Properties: <layer_name> window

Remove the Unicode symbol from the field in the attribute table

  1. Open the ArcGIS Pro project.
  2. In the Contents pane, browse to and right-click the layer, and select Attribute Table.
  3. In the attribute table, browse to and double-click the field to remove the Unicode symbol.
  4. On the top ribbon, click the Edit tab.
  5. In the Manage Edits group, click Save to save the edits made in the attribute table.
Image of the Manage Edits group on the ribbon

Export the attribute table to an XLS file

Using the Table To Excel tool, export the attribute table to an XLS file.

  1. Open the ArcGIS Pro project. On the top ribbon, click the Analysis tab > Tools.
  2. In the Geoprocessing pane, search for and click Table To Excel (Conversion Tools). The Table To Excel window opens.
  3. In the Table To Excel window, click Parameters.
  4. Click the drop-down menu of Input Table, or Browse (the folder icon), and select the feature layer with the desired attribute table. In this example, a layer titled Point_layer is selected, and the Output Excel File (.xls or .xlsx) parameter is populated automatically.
Image of the Input Table parameter
  1. Click and browse to the end of the Output Excel File (.xls or .xlsx) parameter, and change the output format to .xls.
Image of the Output Excel File (.xls or .xlsx) parameter
Note:
By default, the output format is set to XLSX.
  1. Click Run.

The image below shows the attribute table is exported as an Excel (.xls) file.

Image of the exported Excel (.xls) file in Windows File Explorer

Use the Table To Table geoprocessing tool

Export the attribute table to a CSV file using the Table To Table geoprocessing tool.

  1. Open the ArcGIS Pro project.
  2. In the Contents pane, browse to and right-click the layer. Click Data > Export Table.
  3. In the Export Table window, click Parameters.
  4. For Output Location, click Browse.
  5. In the Output Location window, select the desired folder for the output file, and click OK. In this example, a folder named Point Line Polygon is selected.
Image of the Output Location parameter in the Export Table window
  1. Specify a name for Output Name, and include the .csv extension. Click OK.
Image of the Output Name parameter

The image below shows the exported CSV file titled Point_layer is stored in the Point Line Polygon folder.

Image of the exported CSV in Windows File Explorer

Use the Copy Rows geoprocessing tool

Export the attribute table to a CSV file using the Copy Rows geoprocessing tool.

  1. Open the ArcGIS Pro project. On the top ribbon, click the Analysis tab > Tools.
  2. In the Geoprocessing pane, search for and click Copy Rows (Data Management Tools). The Copy Rows window opens.
  3. In the Copy Rows window, click Parameters.
  4. Click the drop-down menu of Input Rows, or Browse (the folder icon), and select the feature layer with the desired attribute table.
  5. For Output Table, click Browse.
  6. In the Output Table window, specify the Name section, and include the .csv extension. Click Save.
Image of the Name section in the Output Table window
  1. In the Copy Rows window, click Run.
Image of the Copy Rows window

The image below shows the attribute table is exported as a CSV file.

Image of the exported CSV in Windows File Explorer

Article ID:000024919

Software:
  • ArcGIS Pro 2 7 x
  • ArcGIS Pro 2 x

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic