<?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 How to adjust an excel fileld when exporting data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-adjust-an-excel-fileld-when-exporting-data/m-p/297723#M110450</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I´m using a macro to export data to excel but the headers wont fit on the excel field ¿is there any way to adjust the excel field in the macro (high)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the Macro:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub Export6&lt;/P&gt;&lt;P&gt;set ZonaListbox = ActiveDocument.GetSheetObject("LB08")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Zona=ZonaListbox.GetPossibleValues&lt;/P&gt;&lt;P&gt;for zonacounter = lbound(Zona) to ubound(Zona)&amp;nbsp; &lt;/P&gt;&lt;P&gt; ActiveDocument.Fields("Zona_Nueva").Select Zona(Zonacounter)&lt;/P&gt;&lt;P&gt; file="C:\Users\"&amp;amp;"ACU - Zona - " &amp;amp; Zona(Zonacounter) &amp;amp; ".xls"&lt;/P&gt;&lt;P&gt; set Chart2Export = ActiveDocument.GetSheetObject("CH25")&lt;/P&gt;&lt;P&gt; Chart2Export.ExportBiff file&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt; ActiveDocument.ClearAll false&lt;/P&gt;&lt;P&gt;MsgBox "Exports Done!"&lt;/P&gt;&lt;P&gt;End Sub &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Camilo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Aug 2011 19:57:49 GMT</pubDate>
    <dc:creator>camilo</dc:creator>
    <dc:date>2011-08-24T19:57:49Z</dc:date>
    <item>
      <title>How to adjust an excel fileld when exporting data</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-adjust-an-excel-fileld-when-exporting-data/m-p/297723#M110450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I´m using a macro to export data to excel but the headers wont fit on the excel field ¿is there any way to adjust the excel field in the macro (high)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the Macro:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub Export6&lt;/P&gt;&lt;P&gt;set ZonaListbox = ActiveDocument.GetSheetObject("LB08")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Zona=ZonaListbox.GetPossibleValues&lt;/P&gt;&lt;P&gt;for zonacounter = lbound(Zona) to ubound(Zona)&amp;nbsp; &lt;/P&gt;&lt;P&gt; ActiveDocument.Fields("Zona_Nueva").Select Zona(Zonacounter)&lt;/P&gt;&lt;P&gt; file="C:\Users\"&amp;amp;"ACU - Zona - " &amp;amp; Zona(Zonacounter) &amp;amp; ".xls"&lt;/P&gt;&lt;P&gt; set Chart2Export = ActiveDocument.GetSheetObject("CH25")&lt;/P&gt;&lt;P&gt; Chart2Export.ExportBiff file&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt; ActiveDocument.ClearAll false&lt;/P&gt;&lt;P&gt;MsgBox "Exports Done!"&lt;/P&gt;&lt;P&gt;End Sub &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Camilo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 19:57:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-adjust-an-excel-fileld-when-exporting-data/m-p/297723#M110450</guid>
      <dc:creator>camilo</dc:creator>
      <dc:date>2011-08-24T19:57:49Z</dc:date>
    </item>
  </channel>
</rss>

