<?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 Bookmark macro doesn't apply before export occurs. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bookmark-macro-doesn-t-apply-before-export-occurs/m-p/158584#M33601</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After recalling the bookmark inset the following line so that the macro waits for the bookmark to be applied.&lt;/P&gt;&lt;P&gt;ActiveDocument.GetApplication.WaitForIdle&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Oct 2010 18:13:49 GMT</pubDate>
    <dc:creator>pover</dc:creator>
    <dc:date>2010-10-25T18:13:49Z</dc:date>
    <item>
      <title>Bookmark macro doesn't apply before export occurs.</title>
      <link>https://community.qlik.com/t5/QlikView/Bookmark-macro-doesn-t-apply-before-export-occurs/m-p/158583#M33600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following Macro where I'm trying to load a bookmark and then call another function that loops through a field, exporting XLS files.&lt;/P&gt;&lt;P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;sub ExportDriver&lt;BR /&gt; ActiveDocument.RecallDocBookmark "Test2"&lt;BR /&gt; call AML_PrintToExcel("vExportLocation", "ExportChart", "AccountNumber_AdBase")&lt;BR /&gt;end sub&lt;/P&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;The problem is that the export finishes before the bookmark is applied, hence I get more information than I want.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;It works fine on small datasets, but when it gets larger, I get the situation where the information is exported before the bookmark applies.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Has anyone experienced this or better yet, found a solution?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 17:41:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bookmark-macro-doesn-t-apply-before-export-occurs/m-p/158583#M33600</guid>
      <dc:creator>markmccoid</dc:creator>
      <dc:date>2010-10-25T17:41:45Z</dc:date>
    </item>
    <item>
      <title>Bookmark macro doesn't apply before export occurs.</title>
      <link>https://community.qlik.com/t5/QlikView/Bookmark-macro-doesn-t-apply-before-export-occurs/m-p/158584#M33601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After recalling the bookmark inset the following line so that the macro waits for the bookmark to be applied.&lt;/P&gt;&lt;P&gt;ActiveDocument.GetApplication.WaitForIdle&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 18:13:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bookmark-macro-doesn-t-apply-before-export-occurs/m-p/158584#M33601</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2010-10-25T18:13:49Z</dc:date>
    </item>
  </channel>
</rss>

