<?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: Simple Printing Issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Simple-Printing-Issue/m-p/405192#M150774</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result is same after adding the code "&lt;STRONG style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;on error resume next&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expectation is,&amp;nbsp; if I click on the Cancel button it should remain on the Sheet from where I have initiated the Print.&lt;/P&gt;&lt;P&gt;But now its redirecting to the Edit Module&amp;nbsp; Page. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MSchakravarthy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Apr 2013 23:59:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-04-26T23:59:32Z</dc:date>
    <item>
      <title>Simple Printing Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Printing-Issue/m-p/405190#M150772</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;&lt;/P&gt;&lt;P&gt;I am using the following Macro to Print the Report . Every thing is working fine if I am printing the report. &lt;/P&gt;&lt;P&gt;The issue is, After the Print Dialog window is opened if&amp;nbsp; we click on the Cancel&amp;nbsp; button of the Print Dialog window its redirecting to the Edit Module page. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub print&lt;/P&gt;&lt;P&gt;setvar1 = ActiveDocument.Variables("vPrintChartID").getContent.string&lt;/P&gt;&lt;P&gt;set ss= ActiveDocument.GetSheetObject(setvar1)&lt;/P&gt;&lt;P&gt;Set val=ActiveDocument.Fields("SSR_SUBMISSION_YR").GetPossibleValues(20000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set f = ActiveDocument.GetField("SSR_SUBMISSION_YR")&lt;/P&gt;&lt;P&gt;f.SelectPossible&lt;/P&gt;&lt;P&gt;Set fv=f.GetSelectedValues(10000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for i = 0 to fv.Count-1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ActiveDocument.Fields("SSR_SUBMISSION_YR").Select fv.Item(i).Text&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Set DD = ActiveDocument.GetSheetObject(setvar1).DialogPrint&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ss.print&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="39752" class="jive-image-thumbnail jive-image" height="235" alt="Print Issue.PNG" src="/legacyfs/online/39752_Print Issue.PNG" style="font-size: 10pt; height: 235px; width: 513.3495145631068px;" width="513" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I click on the Cancel of the above Print Window its opening the Edit module page which is incorrect. I am not sure what is wrong with this Macro. &lt;/P&gt;&lt;P&gt;Request your help to overcome this issue. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MSChakravarthy. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Apr 2013 13:42:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Printing-Issue/m-p/405190#M150772</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-26T13:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Printing Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Printing-Issue/m-p/405191#M150773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume that it workes fine if click Print button.&amp;nbsp; What is the expectaition fron the Cancel button?&amp;nbsp; If there are no any special expectation, you can just add a line in your macro, anywhere before "print":&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;on error resume next&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In this case, nothing will happen at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Apr 2013 18:12:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Printing-Issue/m-p/405191#M150773</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-26T18:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Printing Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Printing-Issue/m-p/405192#M150774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result is same after adding the code "&lt;STRONG style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;on error resume next&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expectation is,&amp;nbsp; if I click on the Cancel button it should remain on the Sheet from where I have initiated the Print.&lt;/P&gt;&lt;P&gt;But now its redirecting to the Edit Module&amp;nbsp; Page. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MSchakravarthy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Apr 2013 23:59:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Printing-Issue/m-p/405192#M150774</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-26T23:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Printing Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Printing-Issue/m-p/405193#M150775</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;Can any one suggest how to resolve this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MSChakravarthy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Apr 2013 09:22:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Printing-Issue/m-p/405193#M150775</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-27T09:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Printing Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Printing-Issue/m-p/405194#M150776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please upload an example of your application?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 19:41:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Printing-Issue/m-p/405194#M150776</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-29T19:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Printing Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Printing-Issue/m-p/405195#M150777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think if you press cancel it will return cancel on your variable DD - this is not an error. You must it to retrieve before ss.print and it is cancel exit sub.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 08:40:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Printing-Issue/m-p/405195#M150777</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2013-04-30T08:40:47Z</dc:date>
    </item>
  </channel>
</rss>

