<?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 Re: QlikView macro export to Excel percentage formatting in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QlikView-macro-export-to-Excel-percentage-formatting/m-p/1260240#M868543</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello this was very helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tweaked it a little bit, but it definitely put me on the right track.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used :&lt;/P&gt;&lt;P&gt;range(VarName). NumberFormat = "##,#0.0%"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Dec 2016 13:07:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-12-01T13:07:38Z</dc:date>
    <item>
      <title>QlikView macro export to Excel percentage formatting</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-macro-export-to-Excel-percentage-formatting/m-p/1260238#M868541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have exported a Straight Table to Excel via a macro script. The problem is, one of the fields is a percentage field&lt;/P&gt;&lt;P&gt;but I am having problems with the formatting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently in QlikView it looks like this: 15.1% but as soon as I export the Straight Table the field percentage display as 15.10% in&lt;/P&gt;&lt;P&gt;Excel. I want the formatting in Excel also to be displayed as 15.1%. (As soos as Excel sees the field as percentage, it automatically&lt;/P&gt;&lt;P&gt;formats it to two decimal places).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/145418_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;I am unable to use the Copy to Clipboard function in QlikView because I am exporting more than one table onto one Excel Sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for a way from within the QlikView macros to be able to set the Excel Decimal places for Percentage to 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-macro-export-to-Excel-percentage-formatting/m-p/1260238#M868541</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView macro export to Excel percentage formatting</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-macro-export-to-Excel-percentage-formatting/m-p/1260239#M868542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just code the necessary macro to reformat the column?&lt;/P&gt;&lt;P&gt;The code will be along the lines of&lt;/P&gt;&lt;P&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif;"&gt;&lt;SPAN class="pln" style="color: #303336;"&gt;Columns&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #303336;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #7d2727;"&gt;1&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #303336;"&gt;).&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #303336;"&gt;NumberFormat &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #303336;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #303336;"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="color: #7d2727;"&gt;"#,##0.0%"&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #303336;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you cant get qlikview to do what you need, then you can create an excel template with thew macro in it.&lt;/P&gt;&lt;P&gt;When you export, you open the template and use that then just call the macro from Qlikview &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2016 10:17:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-macro-export-to-Excel-percentage-formatting/m-p/1260239#M868542</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2016-12-01T10:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView macro export to Excel percentage formatting</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-macro-export-to-Excel-percentage-formatting/m-p/1260240#M868543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello this was very helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tweaked it a little bit, but it definitely put me on the right track.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used :&lt;/P&gt;&lt;P&gt;range(VarName). NumberFormat = "##,#0.0%"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2016 13:07:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-macro-export-to-Excel-percentage-formatting/m-p/1260240#M868543</guid>
      <dc:creator />
      <dc:date>2016-12-01T13:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView macro export to Excel percentage formatting</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-macro-export-to-Excel-percentage-formatting/m-p/1260241#M868544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No worries at all, I am glad it put you on the right track &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2016 13:17:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-macro-export-to-Excel-percentage-formatting/m-p/1260241#M868544</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2016-12-01T13:17:30Z</dc:date>
    </item>
  </channel>
</rss>

