<?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 Create Report Macro in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/create-report-macro/m-p/738423#M57131</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I only have a basic knowledge of creating macros in ArcMap and need to create a macro that can generate a report from a shapefile's attributes, format it to set specifications (like you do in the options dialog box when creating a report, but all these reports will use the same settings) and then embed it onto a map composition. I want to automate it with a macro because it is something I have to do many times a day, everyday. I have created a userform in VBA that has 2 buttons to generate the 2 different formated reports I need, now I just need the hard part...the code. Any help would be very appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Feb 2012 06:25:38 GMT</pubDate>
    <dc:creator>DuaneEckert</dc:creator>
    <dc:date>2012-02-29T06:25:38Z</dc:date>
    <item>
      <title>Create Report Macro</title>
      <link>https://community.esri.com/t5/python-questions/create-report-macro/m-p/738423#M57131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I only have a basic knowledge of creating macros in ArcMap and need to create a macro that can generate a report from a shapefile's attributes, format it to set specifications (like you do in the options dialog box when creating a report, but all these reports will use the same settings) and then embed it onto a map composition. I want to automate it with a macro because it is something I have to do many times a day, everyday. I have created a userform in VBA that has 2 buttons to generate the 2 different formated reports I need, now I just need the hard part...the code. Any help would be very appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Feb 2012 06:25:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/create-report-macro/m-p/738423#M57131</guid>
      <dc:creator>DuaneEckert</dc:creator>
      <dc:date>2012-02-29T06:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Create Report Macro</title>
      <link>https://community.esri.com/t5/python-questions/create-report-macro/m-p/738424#M57132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;At 10.0 building reports with arcpy scripting can be very challenging, but possible, because you would need to set up all the elements in an MXD and automate their dynamic values and placement.&amp;nbsp; The following sample does something similar with dynamic tables:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/gallery/file/geoprocessing/details?entryID=8C8E6EB6-1422-2418-A0B8-6AA61BF57894"&gt;http://resources.arcgis.com/gallery/file/geoprocessing/details?entryID=8C8E6EB6-1422-2418-A0B8-6AA61BF57894&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could also use 3rd party Python site packages like ReportLab.&amp;nbsp; It is used in the following example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/gallery/file/geoprocessing/details?entryID=FBE3D235-1422-2418-8820-E071ED243854"&gt;http://resources.arcgis.com/gallery/file/geoprocessing/details?entryID=FBE3D235-1422-2418-8820-E071ED243854&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FYI - At 10.1, we've extended the arcpy.mapping API to include ExportReport.&amp;nbsp; The ExportReport function provides a mechanism to automate the generation of reports that are originally authored in a map document (.mxd) using the reporting tools available in ArcMap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 13:18:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/create-report-macro/m-p/738424#M57132</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2012-03-01T13:18:04Z</dc:date>
    </item>
  </channel>
</rss>

