<?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 Export with the field name. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Export-with-the-field-name/m-p/231293#M83063</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H4&gt;&lt;SPAN closure_uid_pufbby="1014" style="background-color: #fff;" wc="Olá." xc="Hello"&gt;Hello&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN closure_uid_pufbby="1015" style="background-color: #fff;" wc="Criei uma macro que exporta uma planilha para o excel." xc="I created a macro that exports a spreadsheet to excel."&gt;I created a macro that exports a spreadsheet to excel.&lt;BR /&gt;&lt;/SPAN&gt; &lt;SPAN closure_uid_pufbby="1016" style="background-color: #fff;" wc="Preciso que o nome do arquivo .XLS seja o nome do campo que está selecionado na caixa &amp;quot;seleção multiplas de filtros&amp;quot;." xc="I need the file name. XLS is the field name that is selected in the &amp;quot;select multiple filters."&gt;I need the file name. XLS is the field name that is selected in the "select multiple filters.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt; Can anyone help??&lt;/H4&gt;&lt;P&gt;call exportToExcel("CH209", "C:\Temp\FILE NAME.xls")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Jul 2010 19:40:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-07-22T19:40:35Z</dc:date>
    <item>
      <title>Export with the field name.</title>
      <link>https://community.qlik.com/t5/QlikView/Export-with-the-field-name/m-p/231293#M83063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H4&gt;&lt;SPAN closure_uid_pufbby="1014" style="background-color: #fff;" wc="Olá." xc="Hello"&gt;Hello&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN closure_uid_pufbby="1015" style="background-color: #fff;" wc="Criei uma macro que exporta uma planilha para o excel." xc="I created a macro that exports a spreadsheet to excel."&gt;I created a macro that exports a spreadsheet to excel.&lt;BR /&gt;&lt;/SPAN&gt; &lt;SPAN closure_uid_pufbby="1016" style="background-color: #fff;" wc="Preciso que o nome do arquivo .XLS seja o nome do campo que está selecionado na caixa &amp;quot;seleção multiplas de filtros&amp;quot;." xc="I need the file name. XLS is the field name that is selected in the &amp;quot;select multiple filters."&gt;I need the file name. XLS is the field name that is selected in the "select multiple filters.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt; Can anyone help??&lt;/H4&gt;&lt;P&gt;call exportToExcel("CH209", "C:\Temp\FILE NAME.xls")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jul 2010 19:40:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-with-the-field-name/m-p/231293#M83063</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-22T19:40:35Z</dc:date>
    </item>
    <item>
      <title>Export with the field name.</title>
      <link>https://community.qlik.com/t5/QlikView/Export-with-the-field-name/m-p/231294#M83064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is Select Multiple Filters? Is that a field?&lt;/P&gt;&lt;P&gt;Your current macro is very hard to read, but here is a snippet of code that should work:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;set mySelections = ActiveDocument.Fields("Field").GetSelectedValues&lt;BR /&gt;fileName = mySelections.Item(0).text&lt;BR /&gt;exportToExcel("CH209", "C:\Temp\" &amp;amp; fileName)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;You would want to put in some error checking to verify that one item is selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jul 2010 19:50:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-with-the-field-name/m-p/231294#M83064</guid>
      <dc:creator />
      <dc:date>2010-07-22T19:50:48Z</dc:date>
    </item>
    <item>
      <title>Export with the field name.</title>
      <link>https://community.qlik.com/t5/QlikView/Export-with-the-field-name/m-p/231295#M83065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H4 style="PADDING-LEFT:30px;"&gt;FOLLOW COMPLETE MACRO&lt;/H4&gt;&lt;H4&gt;&lt;/H4&gt;&lt;H4&gt;&lt;/H4&gt;&lt;H4&gt;&lt;/H4&gt;&lt;H4&gt;&lt;/H4&gt;&lt;H4&gt;&lt;/H4&gt;&lt;H4&gt;&lt;/H4&gt;&lt;H4&gt;&lt;/H4&gt;&lt;H4&gt;&lt;/H4&gt;&lt;H4 style="PADDING-LEFT:30px;"&gt;&lt;/H4&gt;Sub exportObject1 sub ()&lt;BR /&gt;exportToExcel call ("CH209", "C: \ Temp \ FILE Name.xls)&lt;BR /&gt;End Sub&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sub exportToExcel (objectId, filePath)&lt;BR /&gt;dim the&lt;BR /&gt;Set o = ActiveDocument.GetSheetObject (objectId)&lt;BR /&gt;o.ExportBiff filePath&lt;BR /&gt;Set o = nothing&lt;BR /&gt;End Sub&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jul 2010 20:00:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-with-the-field-name/m-p/231295#M83065</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-22T20:00:47Z</dc:date>
    </item>
  </channel>
</rss>

