I have a script that selects records in a table and exports them as excel files. The fields are very important and the 'objectid' is unwanted. Is there a way to control which fields are output when running 'ExcelToTable'?
Thank you,
Randy McGregor
Solved! Go to Solution.
@RandyMcGregor3 I assume you have a geodatabase table that needs to be exported as Excel file.
@RandyMcGregor3 I assume you have a geodatabase table that needs to be exported as Excel file.
The tool converts an excel file to n fgdb table first, then exports multiple excel files from that table. Might work to have it be two step process:
Ok, that's three steps.
The ArcGIS API for Python be well suited to this sort of transformation. Read the feature class into a spatially enabled dataframe, do stuff (filter, etc), then write to excel. Docs at https://developers.arcgis.com/python/.
HTH
Tyler
Thanks, but I'm not quite ready to tackle ArcGIS API for Python. I've dabbled and it looks very powerful. Trying to stick with a out of the box tools (in arcpy) for this one.