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]

I appreciate the help you could give me.

Greetings


  [1]: https://i.sstatic.net/UygTb.png
  [2]: https://i.sstatic.net/Bux9x.png