<?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 Regular Document Reloads - loss of macro functionality? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Regular-Document-Reloads-loss-of-macro-functionality/m-p/174076#M1329550</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;I have 2 problems with a document.&lt;/P&gt;&lt;P&gt;I have the server reloading the document every 2 minutes.&lt;/P&gt;&lt;P&gt;In the document's properties on the Server tab I have "Server perfomrs refresh automatically without client action" ticked and "Enable Push from Server" and "Enable Dynamic Data Update" also ticked.&lt;/P&gt;&lt;P&gt;On the document I have a button linked to a macro that does the classic fitzoomtowindow like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;sub FixZoom&lt;BR /&gt;ActiveDocument.ActiveSheet.FitZoomToWindow&lt;BR /&gt;ActiveDocument.GetApplication.WaitForIdle&lt;BR /&gt;ActiveDocument.ActiveSheet.ApplyZoomToAllSheets&lt;BR /&gt;End Sub&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;When I have the document open, in the IE Plugin, when I first open it the button works fine. Then when the document refreshes after 2 mins I lose the zoom (problem 1 - it reverts to 100% zoom) and also even if I then click my macro button to fix the zoom it no longer works (problem 2)?&lt;/P&gt;&lt;P&gt;If anyone has an idea I'd appreciate any advice you could give!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Dominic&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>Regular Document Reloads - loss of macro functionality?</title>
      <link>https://community.qlik.com/t5/QlikView/Regular-Document-Reloads-loss-of-macro-functionality/m-p/174076#M1329550</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;I have 2 problems with a document.&lt;/P&gt;&lt;P&gt;I have the server reloading the document every 2 minutes.&lt;/P&gt;&lt;P&gt;In the document's properties on the Server tab I have "Server perfomrs refresh automatically without client action" ticked and "Enable Push from Server" and "Enable Dynamic Data Update" also ticked.&lt;/P&gt;&lt;P&gt;On the document I have a button linked to a macro that does the classic fitzoomtowindow like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;sub FixZoom&lt;BR /&gt;ActiveDocument.ActiveSheet.FitZoomToWindow&lt;BR /&gt;ActiveDocument.GetApplication.WaitForIdle&lt;BR /&gt;ActiveDocument.ActiveSheet.ApplyZoomToAllSheets&lt;BR /&gt;End Sub&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;When I have the document open, in the IE Plugin, when I first open it the button works fine. Then when the document refreshes after 2 mins I lose the zoom (problem 1 - it reverts to 100% zoom) and also even if I then click my macro button to fix the zoom it no longer works (problem 2)?&lt;/P&gt;&lt;P&gt;If anyone has an idea I'd appreciate any advice you could give!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Dominic&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/Regular-Document-Reloads-loss-of-macro-functionality/m-p/174076#M1329550</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
  </channel>
</rss>

