<?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 zoom in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/zoom/m-p/285060#M1201539</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have played with this once.&lt;/P&gt;&lt;P&gt;Here is a macro built around a variable called "zoom" (default value: 100%).&lt;/P&gt;&lt;P&gt;The variable has "on input" trigger which runs the macro.&lt;/P&gt;&lt;P&gt;You can change the variable via slider or buttons.&lt;/P&gt;&lt;P&gt;Have fun!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;sub zoom&lt;BR /&gt;zoomvalue = ActiveDocument.Evaluate("num(zoom)")&lt;BR /&gt;set mysheet=ActiveDocument.ActiveSheet&lt;BR /&gt;set sp=mysheet.GetProperties&lt;BR /&gt;sp.ZoomFactor = zoomvalue&lt;BR /&gt;mysheet.SetProperties sp&lt;BR /&gt;&lt;BR /&gt;ActiveDocument.GetApplication.WaitForIdle&lt;BR /&gt;&lt;BR /&gt;ActiveDocument.ActiveSheet.ApplyZoomToAllSheets&lt;BR /&gt;end sub&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Oct 2010 13:36:48 GMT</pubDate>
    <dc:creator>tanelry</dc:creator>
    <dc:date>2010-10-29T13:36:48Z</dc:date>
    <item>
      <title>zoom</title>
      <link>https://community.qlik.com/t5/QlikView/zoom/m-p/285055#M1201534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is it possible to use a custom zoom instead of the standard :&lt;/P&gt;&lt;P&gt;25% 50% 75% 100% 125% 150% 175% 200% 400%&lt;/P&gt;&lt;P&gt;I know i can use the 'Fit Zoom to Window' option, but i would like if possible the user to input a zoom level themselves using an input box or selecting from a list box.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Oct 2010 11:09:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/zoom/m-p/285055#M1201534</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2010-10-29T11:09:52Z</dc:date>
    </item>
    <item>
      <title>zoom</title>
      <link>https://community.qlik.com/t5/QlikView/zoom/m-p/285056#M1201535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any update on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Oct 2010 12:48:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/zoom/m-p/285056#M1201535</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2010-10-29T12:48:05Z</dc:date>
    </item>
    <item>
      <title>zoom</title>
      <link>https://community.qlik.com/t5/QlikView/zoom/m-p/285057#M1201536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can use a macro and set in document properties, Triggers / Filed Event Triggers / On Selection&lt;/P&gt;&lt;P&gt;Set a external / Run Macro&lt;/P&gt;&lt;P&gt;Create macro and set then&lt;/P&gt;&lt;P&gt;SUB ZOOM&lt;BR /&gt;&lt;BR /&gt;set mysheet=ActiveDocument.ActiveSheet&lt;BR /&gt;set sp=mysheet.GetProperties&lt;BR /&gt;sp.ZoomFactor = ActiveDocument.Fields("YOUR_FIELD").GetSelectedValues.Item(0).Text&lt;BR /&gt;mysheet.SetProperties sp&lt;BR /&gt;&lt;BR /&gt;END SUB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Oct 2010 13:16:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/zoom/m-p/285057#M1201536</guid>
      <dc:creator />
      <dc:date>2010-10-29T13:16:54Z</dc:date>
    </item>
    <item>
      <title>zoom</title>
      <link>https://community.qlik.com/t5/QlikView/zoom/m-p/285058#M1201537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Eduardo.&lt;/P&gt;&lt;P&gt;What do i put instead of YOUR FIELDS though? I want to change the zoom on the enire sheet not a specific field. or am i missunderstanding it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Oct 2010 13:29:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/zoom/m-p/285058#M1201537</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2010-10-29T13:29:57Z</dc:date>
    </item>
    <item>
      <title>zoom</title>
      <link>https://community.qlik.com/t5/QlikView/zoom/m-p/285059#M1201538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;YOUR_FIELD reference a number of zoom that you want.&lt;/P&gt;&lt;P&gt;TABLE_ZOOM:&lt;/P&gt;&lt;P&gt;0.10&lt;/P&gt;&lt;P&gt;0.20&lt;/P&gt;&lt;P&gt;0.30&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;This zoom will be reflected in you sheet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Oct 2010 13:34:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/zoom/m-p/285059#M1201538</guid>
      <dc:creator />
      <dc:date>2010-10-29T13:34:05Z</dc:date>
    </item>
    <item>
      <title>zoom</title>
      <link>https://community.qlik.com/t5/QlikView/zoom/m-p/285060#M1201539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have played with this once.&lt;/P&gt;&lt;P&gt;Here is a macro built around a variable called "zoom" (default value: 100%).&lt;/P&gt;&lt;P&gt;The variable has "on input" trigger which runs the macro.&lt;/P&gt;&lt;P&gt;You can change the variable via slider or buttons.&lt;/P&gt;&lt;P&gt;Have fun!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;sub zoom&lt;BR /&gt;zoomvalue = ActiveDocument.Evaluate("num(zoom)")&lt;BR /&gt;set mysheet=ActiveDocument.ActiveSheet&lt;BR /&gt;set sp=mysheet.GetProperties&lt;BR /&gt;sp.ZoomFactor = zoomvalue&lt;BR /&gt;mysheet.SetProperties sp&lt;BR /&gt;&lt;BR /&gt;ActiveDocument.GetApplication.WaitForIdle&lt;BR /&gt;&lt;BR /&gt;ActiveDocument.ActiveSheet.ApplyZoomToAllSheets&lt;BR /&gt;end sub&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Oct 2010 13:36:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/zoom/m-p/285060#M1201539</guid>
      <dc:creator>tanelry</dc:creator>
      <dc:date>2010-10-29T13:36:48Z</dc:date>
    </item>
    <item>
      <title>zoom</title>
      <link>https://community.qlik.com/t5/QlikView/zoom/m-p/285061#M1201540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tanel.. I am getting an error when tring to run the macro&lt;/P&gt;&lt;P&gt;the edit module box appears with the error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type mismatch: 'sp.ZoomFactor'&lt;/P&gt;&lt;P&gt;Have you got an example of this working you could upload please??&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Oct 2010 13:44:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/zoom/m-p/285061#M1201540</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2010-10-29T13:44:48Z</dc:date>
    </item>
    <item>
      <title>zoom</title>
      <link>https://community.qlik.com/t5/QlikView/zoom/m-p/285062#M1201541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;should be working. Try variable value 1 then 1.1 or 0.9.&lt;/P&gt;&lt;P&gt;If still error, it could be local settings issue (decimal sep). Then use integers (100, 110) in variable and make division in macro:&lt;/P&gt;&lt;P&gt;change this line to: sp.ZoomFactor = zoomvalue * 0.01&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Oct 2010 14:03:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/zoom/m-p/285062#M1201541</guid>
      <dc:creator>tanelry</dc:creator>
      <dc:date>2010-10-29T14:03:26Z</dc:date>
    </item>
    <item>
      <title>zoom</title>
      <link>https://community.qlik.com/t5/QlikView/zoom/m-p/285063#M1201542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm, still not working. It doesnt like 'zoomvalue'....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Oct 2010 14:10:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/zoom/m-p/285063#M1201542</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2010-10-29T14:10:50Z</dc:date>
    </item>
    <item>
      <title>zoom</title>
      <link>https://community.qlik.com/t5/QlikView/zoom/m-p/285064#M1201543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you confirm that this is right please?&lt;/P&gt;&lt;P&gt;I'm lost now &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;sub zoom&lt;BR /&gt;zoomvalue = ActiveDocument.Evaluate("num(zoom)")&lt;BR /&gt;set mysheet=ActiveDocument.ActiveSheet&lt;BR /&gt;set sp=mysheet.GetProperties&lt;BR /&gt;sp.ZoomFactor = zoomvalue * 0.01&lt;BR /&gt;mysheet.SetProperties sp&lt;BR /&gt;ActiveDocument.GetApplication.WaitForIdle&lt;BR /&gt;ActiveDocument.ActiveSheet.ApplyZoomToAllSheets&lt;BR /&gt;end sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Oct 2010 14:15:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/zoom/m-p/285064#M1201543</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2010-10-29T14:15:15Z</dc:date>
    </item>
    <item>
      <title>zoom</title>
      <link>https://community.qlik.com/t5/QlikView/zoom/m-p/285065#M1201544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check if your variable is called "zoom".&lt;/P&gt;&lt;P&gt;If not change the Evaluate(...) line to find your variable name:&lt;/P&gt;&lt;P&gt;zoomvalue = ActiveDocument.Evaluate("num(YOURVARIABLE)")&lt;/P&gt;&lt;P&gt;Also make sure there is no fields with the same name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Oct 2010 14:24:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/zoom/m-p/285065#M1201544</guid>
      <dc:creator>tanelry</dc:creator>
      <dc:date>2010-10-29T14:24:51Z</dc:date>
    </item>
    <item>
      <title>zoom</title>
      <link>https://community.qlik.com/t5/QlikView/zoom/m-p/285066#M1201545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ahh, found it!!&lt;/P&gt;&lt;P&gt;My variable was called zoom but with a CAPITAL Z!&lt;/P&gt;&lt;P&gt;All working now!&lt;/P&gt;&lt;P&gt;thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Oct 2010 14:39:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/zoom/m-p/285066#M1201545</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2010-10-29T14:39:15Z</dc:date>
    </item>
  </channel>
</rss>

