<?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 Help with Macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-Macro/m-p/374437#M139391</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; hi, it ok, i have it working&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SUB PrintDashboard&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; SET val=ActiveDocument.Fields("%KEY%").GETPOSSIBLEVALUES(100)&lt;BR /&gt; FOR i = 0 to val.count-1&lt;BR /&gt; ActiveDocument.Fields("%KEY%").SELECT val.item(i).Text&lt;BR /&gt; ActiveDocument.ActiveSheet.Dialogprint&lt;BR /&gt; &lt;BR /&gt; NEXT&lt;BR /&gt; ActiveDocument.Fields( "%KEY%").Clear&lt;BR /&gt; END SUB &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 May 2012 11:44:02 GMT</pubDate>
    <dc:creator>hopkinsc</dc:creator>
    <dc:date>2012-05-30T11:44:02Z</dc:date>
    <item>
      <title>Help with Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Macro/m-p/374434#M139388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi everyone...I have the following macro which loops through my data and print available dashboards. But i am stuck on how to force it to display the print dialog box to enable the user to select which printer they wish to use. &lt;/DIV&gt;&lt;DIV&gt;Can anyone help please?&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;DIV&gt;SUB PrintDashboard&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; SET val=ActiveDocument.Fields("%KEY%").GETPOSSIBLEVALUES(100)&lt;BR /&gt; FOR i = 0 to val.count-1&lt;BR /&gt; ActiveDocument.Fields("%KEY%").SELECT val.item(i).Text&lt;BR /&gt; ActiveDocument.ActiveSheet.print&lt;BR /&gt; &lt;BR /&gt; NEXT&lt;BR /&gt; ActiveDocument.Fields( "%KEY%").Clear&lt;BR /&gt; END SUB &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/SPAN&gt;T&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;hanks&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 11:02:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Macro/m-p/374434#M139388</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2012-05-30T11:02:22Z</dc:date>
    </item>
    <item>
      <title>Help with Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Macro/m-p/374435#M139389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Try:&lt;/P&gt;&lt;P&gt;activesheet.dialogprint&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 11:36:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Macro/m-p/374435#M139389</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2012-05-30T11:36:42Z</dc:date>
    </item>
    <item>
      <title>Help with Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Macro/m-p/374436#M139390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi, where in the macro would this go? i have just tried at the beginning and end but it didn't work...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 11:39:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Macro/m-p/374436#M139390</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2012-05-30T11:39:07Z</dc:date>
    </item>
    <item>
      <title>Help with Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Macro/m-p/374437#M139391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; hi, it ok, i have it working&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SUB PrintDashboard&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; SET val=ActiveDocument.Fields("%KEY%").GETPOSSIBLEVALUES(100)&lt;BR /&gt; FOR i = 0 to val.count-1&lt;BR /&gt; ActiveDocument.Fields("%KEY%").SELECT val.item(i).Text&lt;BR /&gt; ActiveDocument.ActiveSheet.Dialogprint&lt;BR /&gt; &lt;BR /&gt; NEXT&lt;BR /&gt; ActiveDocument.Fields( "%KEY%").Clear&lt;BR /&gt; END SUB &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 11:44:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Macro/m-p/374437#M139391</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2012-05-30T11:44:02Z</dc:date>
    </item>
    <item>
      <title>Help with Macro</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Macro/m-p/374438#M139392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Try replacing &lt;/P&gt;&lt;P&gt;ActiveDocument.ActiveSheet.print with&lt;/P&gt;&lt;P&gt;ActiveDocument.ActiveSheet.dialogprint&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 11:44:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Macro/m-p/374438#M139392</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2012-05-30T11:44:05Z</dc:date>
    </item>
  </channel>
</rss>

