<?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 Launch Word Document in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Launch-Word-Document/m-p/176797#M44651</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thom&lt;/P&gt;&lt;P&gt;This macro takes a screen shot of the sheet, launches a word document, pastes the image onto the doc, prints it and dumps it without saving. I assume you can butcher the macro around to make it do what you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;SUB mcr_PrintActiveSheet&lt;BR /&gt; Set objWord = CreateObject("Word.Application")&lt;BR /&gt; objWord.Visible = False&lt;BR /&gt; Set objDoc = objWord.Documents.Add&lt;BR /&gt; Const wdOrientLandscape = 1&lt;BR /&gt; objDoc.PageSetup.Orientation = wdOrientLandscape&lt;BR /&gt; ActiveDocument.ActiveSheet.CopyBitmapToClipboard false&lt;BR /&gt; objWord.Selection.Paste&lt;BR /&gt; Const wdAlignParagraphCenter = 1&lt;BR /&gt; objDoc.Paragraphs(1).Alignment = wdAlignParagraphCenter&lt;BR /&gt; objDoc.PrintOut()&lt;BR /&gt; DO WHILE objWord.BackgroundPrintingStatus &amp;gt; 0&lt;BR /&gt; LOOP&lt;BR /&gt; objWord.Quit wdDoNotSaveChanges&lt;BR /&gt; Set objWord = Nothing&lt;BR /&gt; Set objDoc = Nothing&lt;BR /&gt;END SUB&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jun 2010 16:20:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-06-04T16:20:16Z</dc:date>
    <item>
      <title>Launch Word Document</title>
      <link>https://community.qlik.com/t5/QlikView/Launch-Word-Document/m-p/176796#M44650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone have an example of launching a word document....I'm trying with no luck...&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Thom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jun 2010 15:59:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Launch-Word-Document/m-p/176796#M44650</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2010-06-04T15:59:41Z</dc:date>
    </item>
    <item>
      <title>Launch Word Document</title>
      <link>https://community.qlik.com/t5/QlikView/Launch-Word-Document/m-p/176797#M44651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thom&lt;/P&gt;&lt;P&gt;This macro takes a screen shot of the sheet, launches a word document, pastes the image onto the doc, prints it and dumps it without saving. I assume you can butcher the macro around to make it do what you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;SUB mcr_PrintActiveSheet&lt;BR /&gt; Set objWord = CreateObject("Word.Application")&lt;BR /&gt; objWord.Visible = False&lt;BR /&gt; Set objDoc = objWord.Documents.Add&lt;BR /&gt; Const wdOrientLandscape = 1&lt;BR /&gt; objDoc.PageSetup.Orientation = wdOrientLandscape&lt;BR /&gt; ActiveDocument.ActiveSheet.CopyBitmapToClipboard false&lt;BR /&gt; objWord.Selection.Paste&lt;BR /&gt; Const wdAlignParagraphCenter = 1&lt;BR /&gt; objDoc.Paragraphs(1).Alignment = wdAlignParagraphCenter&lt;BR /&gt; objDoc.PrintOut()&lt;BR /&gt; DO WHILE objWord.BackgroundPrintingStatus &amp;gt; 0&lt;BR /&gt; LOOP&lt;BR /&gt; objWord.Quit wdDoNotSaveChanges&lt;BR /&gt; Set objWord = Nothing&lt;BR /&gt; Set objDoc = Nothing&lt;BR /&gt;END SUB&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jun 2010 16:20:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Launch-Word-Document/m-p/176797#M44651</guid>
      <dc:creator />
      <dc:date>2010-06-04T16:20:16Z</dc:date>
    </item>
    <item>
      <title>Launch Word Document</title>
      <link>https://community.qlik.com/t5/QlikView/Launch-Word-Document/m-p/176798#M44652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use the code below on a button to simply open a word doc.&lt;/P&gt;&lt;P&gt;sub OpenWordDoc&lt;/P&gt;&lt;P&gt;dim wshShell&lt;/P&gt;&lt;P&gt;set wshShell = CreateObject("Shell.Application")&lt;/P&gt;&lt;P&gt;wshShell.ShellExecute "PathAndFileName","","","open",1&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jun 2010 17:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Launch-Word-Document/m-p/176798#M44652</guid>
      <dc:creator />
      <dc:date>2010-06-04T17:58:30Z</dc:date>
    </item>
  </channel>
</rss>

