<?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 Extract Data to Word in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Extract-Data-to-Word/m-p/163978#M36844</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sebastian,&lt;/P&gt;&lt;P&gt;thx for answering. Sorry, if I described it in a wrong way. I just want to transfer a value from a certain object "LB34" field "Auftraggeber" into word. transfer is in data type text. If I change rng.text = Name1 into rng.Text 0 "Company" evrything is working fine.&lt;/P&gt;&lt;P&gt;regards Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2009 20:08:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-11-25T20:08:25Z</dc:date>
    <item>
      <title>Extract Data to Word</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-Data-to-Word/m-p/163976#M36842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;for sure it is easy. I have selected e.g. a customers data set. Now I want to extract e.g. customer's name into a Word File. I arrenged opening the word file with a specific form. Then I want to fill a bookmark in this form.&lt;/P&gt;&lt;P&gt;Challange for me is now to bring customer's name as a string.&lt;/P&gt;&lt;P&gt;Can somebody help ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx and regards&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;P&gt;sub LeadMeldungIt&lt;BR /&gt; Set appWord = CreateObject("Word.Application")&lt;BR /&gt; Set myDoc = appWord.Documents.Add("C:\Users\cschmidt\Documents\mw_Lead.dotx")&lt;BR /&gt; Set Table = ActiveDocument.GetSheetObject("LB34")&lt;BR /&gt;&lt;BR /&gt; Set Name1 = ActiveDocument.Fields("Auftraggeber").GetSelectedValues&lt;BR /&gt;&lt;BR /&gt; qvlib.MsgBox(Name1.Text)&lt;BR /&gt;&lt;BR /&gt; Textmarke1="Firmenname"&lt;BR /&gt;&lt;BR /&gt; appWord.WindowState = 0&lt;BR /&gt; appWord.Height = 600&lt;BR /&gt; appWord.Width = 800&lt;BR /&gt; appWord.Left = 40&lt;BR /&gt; appWord.Top = 20&lt;BR /&gt; appWord.Visible = True&lt;BR /&gt;&lt;BR /&gt; If myDoc.Bookmarks.Exists(Textmarke1) Then&lt;BR /&gt; Set rng = myDoc.Bookmarks(Textmarke1).Range&lt;BR /&gt; rng.Text = Name1&lt;BR /&gt; myDoc.Bookmarks.add Textmarke1, rng&lt;BR /&gt; End If&lt;BR /&gt;end Sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2009 22:43:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-Data-to-Word/m-p/163976#M36842</guid>
      <dc:creator />
      <dc:date>2009-11-24T22:43:45Z</dc:date>
    </item>
    <item>
      <title>Extract Data to Word</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-Data-to-Word/m-p/163977#M36843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand your problem is to pass parameter from QV to Word right ?&lt;/P&gt;&lt;P&gt;What I did is to create a variable in Word (Insert Field then go into VariableDoc in the list and type the name of a parameter).&lt;/P&gt;&lt;P&gt;Then add the following code in the macro :&lt;/P&gt;&lt;P&gt;appWord.ActiveDocument.Variables("VariableName") = TheValue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will help you .&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Sébastien&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2009 23:38:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-Data-to-Word/m-p/163977#M36843</guid>
      <dc:creator />
      <dc:date>2009-11-24T23:38:28Z</dc:date>
    </item>
    <item>
      <title>Extract Data to Word</title>
      <link>https://community.qlik.com/t5/QlikView/Extract-Data-to-Word/m-p/163978#M36844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sebastian,&lt;/P&gt;&lt;P&gt;thx for answering. Sorry, if I described it in a wrong way. I just want to transfer a value from a certain object "LB34" field "Auftraggeber" into word. transfer is in data type text. If I change rng.text = Name1 into rng.Text 0 "Company" evrything is working fine.&lt;/P&gt;&lt;P&gt;regards Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2009 20:08:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extract-Data-to-Word/m-p/163978#M36844</guid>
      <dc:creator />
      <dc:date>2009-11-25T20:08:25Z</dc:date>
    </item>
  </channel>
</rss>

