<?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 Pivot &amp;gt; selected values &amp;gt; WORD.doc in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-gt-selected-values-gt-WORD-doc/m-p/212723#M66634</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello QVers,&lt;/P&gt;&lt;P&gt;at the moment I'm doing three steps to transfer selected values of a pivot table into WORD:&lt;/P&gt;&lt;P&gt;1. Step:&lt;BR /&gt;Via header button of a pivot table I'm selecting values into clipboard.&lt;BR /&gt;2.Step&lt;BR /&gt;Via QV push button I'm opening a Word.doc [based on a dot].&lt;BR /&gt;3. Step&lt;BR /&gt;Via Word macro I'm pasting and formatting the clipboard selection into the Word.doc.&lt;/P&gt;&lt;P&gt;I like to combine steps to have only one [or 2] to do this with a QV push button.&lt;/P&gt;&lt;P&gt;Please, has anybody an idea/example? Thank You.&lt;/P&gt;&lt;P&gt;Greetings. dj_skbs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Dec 2010 13:03:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-12-03T13:03:15Z</dc:date>
    <item>
      <title>Pivot &gt; selected values &gt; WORD.doc</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-gt-selected-values-gt-WORD-doc/m-p/212723#M66634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello QVers,&lt;/P&gt;&lt;P&gt;at the moment I'm doing three steps to transfer selected values of a pivot table into WORD:&lt;/P&gt;&lt;P&gt;1. Step:&lt;BR /&gt;Via header button of a pivot table I'm selecting values into clipboard.&lt;BR /&gt;2.Step&lt;BR /&gt;Via QV push button I'm opening a Word.doc [based on a dot].&lt;BR /&gt;3. Step&lt;BR /&gt;Via Word macro I'm pasting and formatting the clipboard selection into the Word.doc.&lt;/P&gt;&lt;P&gt;I like to combine steps to have only one [or 2] to do this with a QV push button.&lt;/P&gt;&lt;P&gt;Please, has anybody an idea/example? Thank You.&lt;/P&gt;&lt;P&gt;Greetings. dj_skbs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Dec 2010 13:03:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-gt-selected-values-gt-WORD-doc/m-p/212723#M66634</guid>
      <dc:creator />
      <dc:date>2010-12-03T13:03:15Z</dc:date>
    </item>
    <item>
      <title>Pivot &gt; selected values &gt; WORD.doc</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-gt-selected-values-gt-WORD-doc/m-p/212724#M66635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi dj_skbs&lt;/P&gt;&lt;P&gt;I solved this bij making one button with two actions:&lt;/P&gt;&lt;P&gt;Action 1: Start application: C:\Program Files\Microsoft Office\Office12\WINWORD.EXE (or whatever application you want)&lt;BR /&gt;&lt;BR /&gt;Action 2: Run Macro : CopyText&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;Paste this code into the Macro module editor:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left:60px;"&gt;&lt;I&gt;sub CopyText&lt;BR /&gt;&lt;/I&gt; &lt;I&gt;ActiveDocument.GetSheetObject("CH01").CopyTextToClipboard 'change CH01 into the right Object ID&lt;BR /&gt;&lt;/I&gt;&lt;I&gt;end sub&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now just press the button, MS Word will open and just use Ctrl+v to paste your values.&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extra options:&lt;BR /&gt;&lt;BR /&gt;If you want to copy it as a bitmap you can use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left:60px;"&gt;&lt;I&gt;sub CopyBitmap&lt;BR /&gt;&lt;/I&gt;&lt;I&gt;ActiveDocument.GetSheetObject("CH01").CopyBitmapToClipboard&lt;/I&gt; &lt;I&gt;'change CH01 into the right Object ID&lt;BR /&gt;&lt;/I&gt;&lt;I&gt;end sub&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if you want to copy the whole table (including colour and lay-out) you can use:&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P style="padding-left:60px;"&gt;&lt;I&gt;sub CopyTable&lt;BR /&gt;&lt;/I&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;set obj1 = ActiveDocument.getsheetobject("CH01")&lt;/P&gt;&lt;P style="font-style: italic"&gt;'change CH01 into the right Object ID&lt;BR /&gt;&lt;/P&gt;&lt;I&gt;&lt;/I&gt;&lt;P style="font-style: italic"&gt;obj1.CopyTableToClipboard true&lt;/P&gt;&lt;I&gt;end sub&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;BR /&gt;Let me know if this works for you ok?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: italic"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 12:24:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-gt-selected-values-gt-WORD-doc/m-p/212724#M66635</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-12-08T12:24:01Z</dc:date>
    </item>
    <item>
      <title>Pivot &gt; selected values &gt; WORD.doc</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-gt-selected-values-gt-WORD-doc/m-p/212725#M66636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check my profile for an example: "&lt;STRONG&gt;&lt;A href="http://community.qlik.com/members/Dennisnet/files/Copy-to-Word.qvw.aspx"&gt;Copy to Word.qvw&lt;/A&gt;"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(somehow I get an error when I try to upload it here)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 12:49:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-gt-selected-values-gt-WORD-doc/m-p/212725#M66636</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-12-08T12:49:14Z</dc:date>
    </item>
    <item>
      <title>Pivot &gt; selected values &gt; WORD.doc</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-gt-selected-values-gt-WORD-doc/m-p/212726#M66637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dennis,&lt;BR /&gt;thank You.&lt;BR /&gt;In the meantime I succeeded in doing that with 2 steps:&lt;BR /&gt;Pivot table subtotal results with the same format I will send to each department.&lt;/P&gt;&lt;P&gt;1.) QV-Button does these actions:&lt;BR /&gt;- Clear ALL&lt;BR /&gt;- Activate Object &amp;gt; CH24&lt;BR /&gt;- Select in Field &amp;gt; Field_1&lt;BR /&gt;- Run Macro &amp;gt;&lt;BR /&gt;"Sub clipboard&lt;BR /&gt;ActiveDocument.GetSheetObject("CH24").CopyTableToClipboard true&lt;BR /&gt;end sub"&lt;BR /&gt;- Launch &amp;gt; C:\...\word.dot */opens a word.doc with prompt&lt;/P&gt;&lt;P&gt;2.) WORD-Button running a macro which is pasting that from 1.) at word prompt:&lt;BR /&gt;"Sub QVResult()&lt;BR /&gt; Selection.Paste&lt;BR /&gt; ActiveDocument.Tables(1).Columns(4).Select&lt;BR /&gt; Selection.Cut&lt;BR /&gt;With Selection.Tables(1).Rows&lt;BR /&gt; .LeftIndent = 0&lt;BR /&gt; .Alignment = wdAlignRowCenter&lt;BR /&gt;End With&lt;BR /&gt;End Sub"&lt;/P&gt;&lt;P&gt;My special wish is to have 2.) integrated in 1.). My feeling says "no"; perhaps cutting the column but not the alignment.&lt;/P&gt;&lt;P&gt;Any idea will be appreciated. Thanks.&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 14:35:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-gt-selected-values-gt-WORD-doc/m-p/212726#M66637</guid>
      <dc:creator />
      <dc:date>2010-12-08T14:35:08Z</dc:date>
    </item>
  </channel>
</rss>

