<?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 Doesn´t work a macro in the onOpen Trigger in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Doesn-t-work-a-macro-in-the-onOpen-Trigger/m-p/1098476#M1314177</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 have insert an OnOpen trigger in order to run a macro to fit the window, but when I open the qlikview document, it doesn´t work properly.&lt;/P&gt;&lt;P&gt;What can I do to run the macro when I open the document? Is there other solution to run this macro without insert this action on a text box?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the code that I have used to the macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub Zoom&lt;/P&gt;&lt;P&gt;ActiveDocument.GetApplication.WaitForIdle&lt;/P&gt;&lt;P&gt;ActiveDocument.ActiveSheet.FitZoomToWindow&lt;/P&gt;&lt;P&gt;ActiveDocument.GetApplication.WaitForIdle&lt;/P&gt;&lt;P&gt;ActiveDocument.ActiveSheet.ApplyZoomToAllSheets&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2026-01-26T18:19:17Z</dc:date>
    <item>
      <title>Doesn´t work a macro in the onOpen Trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Doesn-t-work-a-macro-in-the-onOpen-Trigger/m-p/1098476#M1314177</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 have insert an OnOpen trigger in order to run a macro to fit the window, but when I open the qlikview document, it doesn´t work properly.&lt;/P&gt;&lt;P&gt;What can I do to run the macro when I open the document? Is there other solution to run this macro without insert this action on a text box?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the code that I have used to the macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub Zoom&lt;/P&gt;&lt;P&gt;ActiveDocument.GetApplication.WaitForIdle&lt;/P&gt;&lt;P&gt;ActiveDocument.ActiveSheet.FitZoomToWindow&lt;/P&gt;&lt;P&gt;ActiveDocument.GetApplication.WaitForIdle&lt;/P&gt;&lt;P&gt;ActiveDocument.ActiveSheet.ApplyZoomToAllSheets&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doesn-t-work-a-macro-in-the-onOpen-Trigger/m-p/1098476#M1314177</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Doesn´t work a macro in the onOpen Trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Doesn-t-work-a-macro-in-the-onOpen-Trigger/m-p/1098477#M1314179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you talking about opening in Qlikview Desktop or opening in the ajax client in the browser? The OnOpen trigger doesn't work in the ajax client.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 09:22:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doesn-t-work-a-macro-in-the-onOpen-Trigger/m-p/1098477#M1314179</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-07-06T09:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Doesn´t work a macro in the onOpen Trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Doesn-t-work-a-macro-in-the-onOpen-Trigger/m-p/1098478#M1314183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use the trigger when I open the Qlikview Desktop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 09:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doesn-t-work-a-macro-in-the-onOpen-Trigger/m-p/1098478#M1314183</guid>
      <dc:creator />
      <dc:date>2016-07-06T09:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Doesn´t work a macro in the onOpen Trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Doesn-t-work-a-macro-in-the-onOpen-Trigger/m-p/1098479#M1314191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you mean by "it doesn't work properly"? It doesn't zoom well, or it doesn't work at all?&lt;/P&gt;&lt;P&gt;If you attach the same action to a button, does clicking the button cause the sheets to be fitted to your window area?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take into account that a zoom like this will make all objects fit into the window area. This includes invisible objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 09:37:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doesn-t-work-a-macro-in-the-onOpen-Trigger/m-p/1098479#M1314191</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-07-06T09:37:10Z</dc:date>
    </item>
  </channel>
</rss>

