<?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: Macro for output the data in excel in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Macro-for-output-the-data-in-excel/m-p/1226978#M304581</link>
    <description>&lt;P&gt;Do you have AMP engine enabled? This can occasionally cause that error to be thrown. Try disabling in "Runtime" settings in Configuration pane for workflow. What Alteryx Version are you running?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jan 2024 16:42:57 GMT</pubDate>
    <dc:creator>CoG</dc:creator>
    <dc:date>2024-01-08T16:42:57Z</dc:date>
    <item>
      <title>Macro for output the data in excel</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Macro-for-output-the-data-in-excel/m-p/1226231#M304399</link>
      <description>&lt;P&gt;Hi Everyone.&lt;/P&gt;&lt;P&gt;I need someone who can help me in creating a macro for my output in excel. I have the below data set where, I want to write the data based on the intercompany in different excel tab of my output file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;CCY&lt;/TD&gt;&lt;TD&gt;LE&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;N Account&lt;/TD&gt;&lt;TD&gt;S Account&lt;/TD&gt;&lt;TD&gt;C Center&lt;/TD&gt;&lt;TD&gt;Inter Company&lt;/TD&gt;&lt;TD&gt;Product&lt;/TD&gt;&lt;TD&gt;Trans Type&lt;/TD&gt;&lt;TD&gt;Ending Balance&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;USD&lt;/TD&gt;&lt;T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&gt;xxxx&lt;/TD&gt;&lt;TD&gt;xxxxxxxxxxx&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;7802&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;418.2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;USD&lt;/TD&gt;&lt;TD&gt;xxxx&lt;/TD&gt;&lt;TD&gt;xxxxxxxxxxx&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;90052D&lt;/TD&gt;&lt;TD&gt;7890&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;-355.38&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My output file is fixed with all the intercompany tab names in it. Below are my requirements:-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) I want this to achieve by macro only&lt;/P&gt;&lt;P&gt;2) All the possible Intercompany names tab will be there in the output file. There are some formula also in each intercompany tabs, so we need to write the data in specified area only i.e. A1 to K20.&lt;/P&gt;&lt;P&gt;3) There are high possibility that we will not get all the Intercompany every time. Hence, I want alteryx to clear the previous data for those intercompany where we do not have the data in current period.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 13:20:40 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Macro-for-output-the-data-in-excel/m-p/1226231#M304399</guid>
      <dc:creator>akumar2609</dc:creator>
      <dc:date>2024-01-05T13:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for output the data in excel</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Macro-for-output-the-data-in-excel/m-p/1226278#M304409</link>
      <description>&lt;P&gt;So first i thought this could be done without a macro with an output tool configured to take table name from field. But i think the fact that you want to remove tabs without fresh data requires a macro.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the flow has a block until done to overwrite the whole file with the master data sheet and therefore clear all the tabs from previous version of the file. Then we summarize the intercompany values with summarize these will group our batch macro and send each inter company in one at a time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Within the macro we use the Create new sheet function for each company to get the separate tabs. We get the name of the tabs from the control parameter with the action set to update value and replace specifically Sheet1&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/336437i5C3A2686A3389BCB/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/336438i33AB8107B0B8F1E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 14:50:54 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Macro-for-output-the-data-in-excel/m-p/1226278#M304409</guid>
      <dc:creator>ed_hayter</dc:creator>
      <dc:date>2024-01-05T14:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for output the data in excel</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Macro-for-output-the-data-in-excel/m-p/1226285#M304412</link>
      <description>&lt;P&gt;Thank you for the reply; however, I am getting the below error message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error: Append Sheets (2): Record #5: Tool #8: Unable to create backup of C:\Users\nbkjfze\Desktop\Alteryx Examples\Tabbed_Output workflow\Tabbed_report.xlsx to C:\Users\nbkjfze\Desktop\Alteryx Examples\Tabbed_Output workflow\Tabbed_report.xlsx.bak: Access is denied. (5)&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 15:06:32 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Macro-for-output-the-data-in-excel/m-p/1226285#M304412</guid>
      <dc:creator>akumar2609</dc:creator>
      <dc:date>2024-01-05T15:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for output the data in excel</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Macro-for-output-the-data-in-excel/m-p/1226296#M304416</link>
      <description>&lt;P&gt;Interesting - this is usually caused by an output tool writing to a file that is already being written to and is therefore locked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wonder whether a block until done before the output tool in the macro will help with this?&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I got that error with that config&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;A second block until done before the macro:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 639px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/336441iBC6A4B60076D666B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;seemed to have it running with no errors&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 15:41:20 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Macro-for-output-the-data-in-excel/m-p/1226296#M304416</guid>
      <dc:creator>ed_hayter</dc:creator>
      <dc:date>2024-01-05T15:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for output the data in excel</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Macro-for-output-the-data-in-excel/m-p/1226330#M304424</link>
      <description>&lt;P&gt;Still not sure why you would need a macro:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot.png" style="width: 479px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/336457iB1AA56EEA06C6A9B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot.png" alt="Screenshot.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 16:43:42 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Macro-for-output-the-data-in-excel/m-p/1226330#M304424</guid>
      <dc:creator>CoG</dc:creator>
      <dc:date>2024-01-05T16:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for output the data in excel</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Macro-for-output-the-data-in-excel/m-p/1226915#M304559</link>
      <description>&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for replying on my query.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure, I am getting the below error message :-&amp;nbsp;Error: Output Data (6): Unable to create backup of C:\Users\Desktop\Alteryx Examples\Tabbed_Output workflow (1)\Tabbed_report.xlsx to C:\Users\Desktop\Alteryx Examples\Tabbed_Output workflow (1)\Tabbed_report.xlsx.bak: Access is denied. (5)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To avoid the above error message, my preference was to move on Macro, however doesn't succeed in that also.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you help me in getting it resolved?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 14:59:29 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Macro-for-output-the-data-in-excel/m-p/1226915#M304559</guid>
      <dc:creator>akumar2609</dc:creator>
      <dc:date>2024-01-08T14:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for output the data in excel</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Macro-for-output-the-data-in-excel/m-p/1226978#M304581</link>
      <description>&lt;P&gt;Do you have AMP engine enabled? This can occasionally cause that error to be thrown. Try disabling in "Runtime" settings in Configuration pane for workflow. What Alteryx Version are you running?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 16:42:57 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Macro-for-output-the-data-in-excel/m-p/1226978#M304581</guid>
      <dc:creator>CoG</dc:creator>
      <dc:date>2024-01-08T16:42:57Z</dc:date>
    </item>
  </channel>
</rss>

