<?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 Fit Zoom to Windows in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Fit-Zoom-to-Windows/m-p/331073#M121963</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 using the following code for the 'fit to windows'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;Sub Zoom&lt;BR /&gt;&lt;BR /&gt;ActiveDocument.ActiveSheet.FitZoomToWindow&lt;BR /&gt;ActiveDocument.GetApplication.WaitforIdle&lt;BR /&gt;ActiveDocument.ActiveSheet.ApplyZoomToAllSheets&lt;BR /&gt;&lt;BR /&gt;End Sub&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; color: black; font-size: 9pt;"&gt;I had added this macro to the Document Open Trigger.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; color: black; font-size: 9pt;"&gt;no when i open the dashboard in the client, its working fine. The windows get fitted properly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; color: black; font-size: 9pt;"&gt;But when I try to access the dashboard through the Qlikview plugin in the IE browser, its not executing the Macro. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; color: black; font-size: 9pt;"&gt;I am not sure why the document on load trigger based macro is not working in this case.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; color: black; font-size: 9pt;"&gt;Can you please guide me in this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; color: black; font-size: 9pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; color: black; font-size: 9pt;"&gt;Venu&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jul 2012 10:49:13 GMT</pubDate>
    <dc:creator>qlik_venu</dc:creator>
    <dc:date>2012-07-03T10:49:13Z</dc:date>
    <item>
      <title>Fit Zoom to Windows</title>
      <link>https://community.qlik.com/t5/QlikView/Fit-Zoom-to-Windows/m-p/331073#M121963</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 using the following code for the 'fit to windows'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;Sub Zoom&lt;BR /&gt;&lt;BR /&gt;ActiveDocument.ActiveSheet.FitZoomToWindow&lt;BR /&gt;ActiveDocument.GetApplication.WaitforIdle&lt;BR /&gt;ActiveDocument.ActiveSheet.ApplyZoomToAllSheets&lt;BR /&gt;&lt;BR /&gt;End Sub&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; color: black; font-size: 9pt;"&gt;I had added this macro to the Document Open Trigger.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; color: black; font-size: 9pt;"&gt;no when i open the dashboard in the client, its working fine. The windows get fitted properly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; color: black; font-size: 9pt;"&gt;But when I try to access the dashboard through the Qlikview plugin in the IE browser, its not executing the Macro. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; color: black; font-size: 9pt;"&gt;I am not sure why the document on load trigger based macro is not working in this case.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; color: black; font-size: 9pt;"&gt;Can you please guide me in this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; color: black; font-size: 9pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; color: black; font-size: 9pt;"&gt;Venu&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 10:49:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fit-Zoom-to-Windows/m-p/331073#M121963</guid>
      <dc:creator>qlik_venu</dc:creator>
      <dc:date>2012-07-03T10:49:13Z</dc:date>
    </item>
  </channel>
</rss>

