<?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 in Loop in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-in-Loop/m-p/1311530#M407648</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your feedback Tim,&lt;/P&gt;&lt;P&gt;But the issue here is different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in excel, if i update the date, the value in another cell changes. Lot of calculation is implemented for that. So I ned to read that value based on the date. So changing the date in loop and reading.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Mar 2017 13:39:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-03-30T13:39:03Z</dc:date>
    <item>
      <title>Macro in Loop</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-in-Loop/m-p/1311528#M407646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Need some suggestions.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have a macro to update a date in an excel. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;But As &lt;/SPAN&gt;I&lt;SPAN style="font-size: 10pt;"&gt; need to run the code in a loop for each day, the excel file which &lt;/SPAN&gt;I&lt;SPAN style="font-size: 10pt;"&gt; have is too huge that &lt;/SPAN&gt;it takes&lt;SPAN style="font-size: 10pt;"&gt; a lot of time to update a single value. So if &lt;/SPAN&gt;I&lt;SPAN style="font-size: 10pt;"&gt; am running it for 1 year it will run forever.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Any ideas about getting better performance, like opening file one time for each month and performing it for all the days and closing it . and same.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hope I am clear.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks in advance.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 12:59:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-in-Loop/m-p/1311528#M407646</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-30T12:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Macro in Loop</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-in-Loop/m-p/1311529#M407647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;macro execution work single threaded, so you have bad Performance in General.&lt;/P&gt;&lt;P&gt;Would it be better to go this way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1] Load the data you want into qlikview&lt;/P&gt;&lt;P&gt;2] Transform, Update your date, etc.&lt;/P&gt;&lt;P&gt;3] Store it into Excel or CSV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this can be helpful&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/567909"&gt;Can I use the script to store into xlsx?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 13:14:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-in-Loop/m-p/1311529#M407647</guid>
      <dc:creator>zhadrakas</dc:creator>
      <dc:date>2017-03-30T13:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: Macro in Loop</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-in-Loop/m-p/1311530#M407648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your feedback Tim,&lt;/P&gt;&lt;P&gt;But the issue here is different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in excel, if i update the date, the value in another cell changes. Lot of calculation is implemented for that. So I ned to read that value based on the date. So changing the date in loop and reading.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 13:39:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-in-Loop/m-p/1311530#M407648</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-30T13:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Macro in Loop</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-in-Loop/m-p/1311531#M407649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the date-to-modify resides in a single column, maybe let QV read the dates, transform them according to the rules you specify and write them to csv in the exact same order as the original cells. Then simply copy/paste the new values in the orgiinal column.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 14:34:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-in-Loop/m-p/1311531#M407649</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-03-30T14:34:13Z</dc:date>
    </item>
  </channel>
</rss>

