<?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: FitZoomToWindow Not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/FitZoomToWindow-Not-working/m-p/472321#M1155631</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had the same problem and found the answer there:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.qlikblog.at/444/qliktip-16-zoom-mit-makro-automatisieren/" title="http://www.qlikblog.at/444/qliktip-16-zoom-mit-makro-automatisieren/"&gt;http://www.qlikblog.at/444/qliktip-16-zoom-mit-makro-automatisieren/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tricky point is to add the following line between the commands:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.ActiveSheet.FitZoomToWindow&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ActiveDocument.GetApplication.WaitForIdle&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.ActiveSheet.ApplyZoomToAllSheets &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ActiveDocument.GetApplication.WaitForIdle&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Apr 2015 13:20:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-04-07T13:20:56Z</dc:date>
    <item>
      <title>FitZoomToWindow Not working</title>
      <link>https://community.qlik.com/t5/QlikView/FitZoomToWindow-Not-working/m-p/472319#M1155629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have researched on the internet and have found the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; SUB FitZoomToWindow&lt;BR /&gt;&lt;BR /&gt; ActiveDocument.ActiveSheet.FitZoomToWindow&lt;BR /&gt; ActiveDocument.ActiveSheet.ApplyZoomToAllSheets&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; END SUB &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;However this does not seem to be working in my button which I ahve assigned the macro too&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I understand the above script to be VBScript, I am running this off our server which has Excel 2007 installed.&amp;nbsp; I know that Microsoft have stopped external uses for running vbscript in Excel 2007, could this be why the macro is not working for me?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Has anyone else experienced the syntex not running, and how they overcame this problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Helen&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2013 15:36:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FitZoomToWindow-Not-working/m-p/472319#M1155629</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2013-02-26T15:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: FitZoomToWindow Not working</title>
      <link>https://community.qlik.com/t5/QlikView/FitZoomToWindow-Not-working/m-p/472320#M1155630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Helen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this macro:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;SUB Zoom&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;set CurrentSheet=ActiveDocument.ActiveSheet&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;set proper=CurrentSheet.GetProperties&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;proper.ZoomFactor = 1 ' try 1 to 4&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;CurrentSheet.SetProperties proper&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;END SUB &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 11:48:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FitZoomToWindow-Not-working/m-p/472320#M1155630</guid>
      <dc:creator />
      <dc:date>2013-02-27T11:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: FitZoomToWindow Not working</title>
      <link>https://community.qlik.com/t5/QlikView/FitZoomToWindow-Not-working/m-p/472321#M1155631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had the same problem and found the answer there:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.qlikblog.at/444/qliktip-16-zoom-mit-makro-automatisieren/" title="http://www.qlikblog.at/444/qliktip-16-zoom-mit-makro-automatisieren/"&gt;http://www.qlikblog.at/444/qliktip-16-zoom-mit-makro-automatisieren/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tricky point is to add the following line between the commands:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.ActiveSheet.FitZoomToWindow&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ActiveDocument.GetApplication.WaitForIdle&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.ActiveSheet.ApplyZoomToAllSheets &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ActiveDocument.GetApplication.WaitForIdle&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 13:20:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FitZoomToWindow-Not-working/m-p/472321#M1155631</guid>
      <dc:creator />
      <dc:date>2015-04-07T13:20:56Z</dc:date>
    </item>
  </channel>
</rss>

