<?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 Problems in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-Problems/m-p/1185494#M882517</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use on error resume next&amp;nbsp; to trap the err.number and description.&lt;/P&gt;&lt;P&gt;Maybe you need ActiveDocument.GetApplication.WaitForIdle before the code that sometimes causes an error and sometimes doesn't.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Sep 2016 16:20:53 GMT</pubDate>
    <dc:creator>m_woolf</dc:creator>
    <dc:date>2016-09-29T16:20:53Z</dc:date>
    <item>
      <title>Macro Problems</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-Problems/m-p/1185491#M882514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to run a macro after reload which save a .pdf to a location and also mails the same .pdf to a number of recipients.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I am facing is after reload it does not do the required actions right away it takes me to the Module editor. I don't change anything within the script or security and simply click ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then try and run the macro by using the button and it does the same thing for second time sometimes a third time but then eventually it goes through and completes the actions in producing the .pdf to the folder location and emails the recipients.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why does it do that as i want to automate this process but with this happening it requires someone to sit there and do the clicking every time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have any ideas, your assistance would be greatly appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-Problems/m-p/1185491#M882514</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Problems</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-Problems/m-p/1185492#M882515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Generally if QlikView opens the macro Editor, it is because of an error in the code. The debugger no longer allows you to step through the code, so I debug the script by adding msgbox lines in the code. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 18:16:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-Problems/m-p/1185492#M882515</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2016-09-28T18:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Problems</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-Problems/m-p/1185493#M882516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is my understanding as well but the strange thing is when I run the macro using the button I created it works after about two or three times without changing anything with in the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;macro Editor.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the editor pops up I click OK and after a few pop ups it runs fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some days it will pop up once other days multiple times.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2016 05:54:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-Problems/m-p/1185493#M882516</guid>
      <dc:creator />
      <dc:date>2016-09-29T05:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Problems</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-Problems/m-p/1185494#M882517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use on error resume next&amp;nbsp; to trap the err.number and description.&lt;/P&gt;&lt;P&gt;Maybe you need ActiveDocument.GetApplication.WaitForIdle before the code that sometimes causes an error and sometimes doesn't.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2016 16:20:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-Problems/m-p/1185494#M882517</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2016-09-29T16:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Problems</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-Problems/m-p/1185495#M882518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for late response i think it has something to do with the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ActiveDocument. I did a test by flipping through the different tabs (5 tabs) once doing this and executing the macro it runs fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i am going to try implementing something with the ActiveDocument and revert back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2016 06:08:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-Problems/m-p/1185495#M882518</guid>
      <dc:creator />
      <dc:date>2016-10-04T06:08:04Z</dc:date>
    </item>
  </channel>
</rss>

