<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Failed to execute (TableToExcel) - ArcGIS Pro 2.3.3 in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-tabletoexcel-arcgis-pro-2-3-3/m-p/206262#M9125</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paul, it could be that because the table appears to be a joined table.&lt;/P&gt;&lt;P&gt;Have you tried exporting it to a new table to make the join permanent prior to using Table to Excel.&amp;nbsp; Can't find any documentation on how joined data are handled (if it is), not how it would handle those field names&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Oct 2019 00:41:39 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2019-10-17T00:41:39Z</dc:date>
    <item>
      <title>Failed to execute (TableToExcel) - ArcGIS Pro 2.3.3</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-tabletoexcel-arcgis-pro-2-3-3/m-p/206258#M9121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;I created a small table (less than 200 rows) then attempted to export to Excel. Table to Excel tool consistently fails.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/461982_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/461996_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If send the tool script with my parameters to the Python window and run the tool, the following error results - it is the same and repeatable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;import arcpy&lt;BR /&gt;arcpy.conversion.TableToExcel("thesisHistAnalysis", r"C:\Users\PCD\Documents\ArcGIS\Projects\Thesis\thesisHistAnalysis.xlsx", "ALIAS", "DESCRIPTION")&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;&amp;nbsp; File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;BR /&gt;&amp;nbsp; File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\conversion.py", line 99, in TableToExcel&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise e&lt;BR /&gt;&amp;nbsp; File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\conversion.py", line 96, in TableToExcel&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; retval = convertArcObjectToPythonObject(gp.TableToExcel_conversion(*gp_fixargs((Input_Table, Output_Excel_File, Use_field_alias_as_column_header, Use_domain_and_subtype_description), True)))&lt;BR /&gt;&amp;nbsp; File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\geoprocessing\_base.py", line 498, in &amp;lt;lambda&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return lambda *args: val(*gp_fixargs(args, True))&lt;BR /&gt;arcgisscripting.ExecuteError: Traceback (most recent call last):&lt;BR /&gt;&amp;nbsp; File "c:\program files\arcgis\pro\Resources\ArcToolbox\Scripts\TableToExcel.py", line 306, in &amp;lt;module&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.GetParameter(3))&lt;BR /&gt;&amp;nbsp; File "c:\program files\arcgis\pro\Resources\ArcToolbox\Scripts\TableToExcel.py", line 171, in table_to_excel&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fields = get_field_defs(in_table, use_domain_desc)&lt;BR /&gt;&amp;nbsp; File "c:\program files\arcgis\pro\Resources\ArcToolbox\Scripts\TableToExcel.py", line 123, in get_field_defs&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; subtypes = arcpy.da.ListSubtypes(in_table)&lt;BR /&gt;OSError: thesisHistAnalysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Failed to execute (TableToExcel).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is there another approach - maybe a pandas or similar solution if the ESRI script does not work? Is ther a way to troubleshoot ESRI Python that previously operated as anticipated? Are there requirements wrt the table itself that could be related to the error?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 05:32:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-tabletoexcel-arcgis-pro-2-3-3/m-p/206258#M9121</guid>
      <dc:creator>PaulDunn3</dc:creator>
      <dc:date>2019-10-16T05:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to execute (TableToExcel) - ArcGIS Pro 2.3.3</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-tabletoexcel-arcgis-pro-2-3-3/m-p/206259#M9122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I might recommend upgrading the latest version of ArcGIS Pro (2.4.2) and running the workflow again. I know that there have been some improvements in the Excel tools in the latest version&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/get-started/whats-new-in-arcgis-pro.htm#ESRI_SECTION1_E92FB507631041B4902FEEEABA065A63" title="https://pro.arcgis.com/en/pro-app/get-started/whats-new-in-arcgis-pro.htm#ESRI_SECTION1_E92FB507631041B4902FEEEABA065A63"&gt;What's new in ArcGIS Pro 2.4—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;- This takes to a specific section that mentions the Excel information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/data/excel/work-with-excel-in-arcgis-pro.htm" title="https://pro.arcgis.com/en/pro-app/help/data/excel/work-with-excel-in-arcgis-pro.htm"&gt;Work with Microsoft Excel files in ArcGIS Pro—Excel | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 11:28:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-tabletoexcel-arcgis-pro-2-3-3/m-p/206259#M9122</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2019-10-16T11:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to execute (TableToExcel) - ArcGIS Pro 2.3.3</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-tabletoexcel-arcgis-pro-2-3-3/m-p/206260#M9123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A view of the table might help. It looks like something to do with field names.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 11:43:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-tabletoexcel-arcgis-pro-2-3-3/m-p/206260#M9123</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-10-16T11:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to execute (TableToExcel) - ArcGIS Pro 2.3.3</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-tabletoexcel-arcgis-pro-2-3-3/m-p/206261#M9124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/462077_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 21:44:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-tabletoexcel-arcgis-pro-2-3-3/m-p/206261#M9124</guid>
      <dc:creator>PaulDunn3</dc:creator>
      <dc:date>2019-10-16T21:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to execute (TableToExcel) - ArcGIS Pro 2.3.3</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-tabletoexcel-arcgis-pro-2-3-3/m-p/206262#M9125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paul, it could be that because the table appears to be a joined table.&lt;/P&gt;&lt;P&gt;Have you tried exporting it to a new table to make the join permanent prior to using Table to Excel.&amp;nbsp; Can't find any documentation on how joined data are handled (if it is), not how it would handle those field names&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2019 00:41:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-tabletoexcel-arcgis-pro-2-3-3/m-p/206262#M9125</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-10-17T00:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to execute (TableToExcel) - ArcGIS Pro 2.3.3</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-tabletoexcel-arcgis-pro-2-3-3/m-p/206263#M9126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll look into this but I do not think this happened with other related tables in this geodatabase. Outside of ESRI products, ER tables are not an issue wrt exporting data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2019 22:30:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-tabletoexcel-arcgis-pro-2-3-3/m-p/206263#M9126</guid>
      <dc:creator>PaulDunn3</dc:creator>
      <dc:date>2019-10-17T22:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to execute (TableToExcel) - ArcGIS Pro 2.3.3</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-tabletoexcel-arcgis-pro-2-3-3/m-p/206264#M9127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did create a copy to the geodatabase and the tool worked. I do not remember the difference between the table types? Why a copy is exported and a table query is not but it must be a nuance I should have remembered.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2019 06:29:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-tabletoexcel-arcgis-pro-2-3-3/m-p/206264#M9127</guid>
      <dc:creator>PaulDunn3</dc:creator>
      <dc:date>2019-10-18T06:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to execute (TableToExcel) - ArcGIS Pro 2.3.3</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-tabletoexcel-arcgis-pro-2-3-3/m-p/1597173#M94159</link>
      <description>&lt;P&gt;I was able to get around a table to Excel error I was receiving in ArcGIS Pro 3.3.1.&amp;nbsp; My workaround was to export my table to an .xls file instead of an .xlsx file. I hope this helps someone else.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 13:50:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/failed-to-execute-tabletoexcel-arcgis-pro-2-3-3/m-p/1597173#M94159</guid>
      <dc:creator>RolandDuhaime</dc:creator>
      <dc:date>2025-03-21T13:50:33Z</dc:date>
    </item>
  </channel>
</rss>

