I would like to know if there is any way through Python to query the fields of an attribute table of a .shp file (ArcMap) from an .xlsm file (Excel with macros enabled), this since what I currently do repetitively and manual is to copy the attribute table from ArcMap to my Excel file "VINCULACION_S.xlsm". One of the attribute tables that I want to copy is the one I show in this image, [![enter image description here][1]][1] Towards the .xlsm file already mentioned, which I show in this image. [![enter image description here][2]][2] [1]: https://i.sstatic.net/UygTb.png [2]: https://i.sstatic.net/Bux9x.png