<?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: Column Width 2 pivot tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Column-Width-2-pivot-tables/m-p/433767#M1165704</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Helen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use a macro to set the width of a column (somehow there is no normal function in qlikview to do that).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below an example of the code:&lt;/P&gt;&lt;P&gt;Sub breedte&lt;/P&gt;&lt;P&gt;set chart = ActiveDocument.GetSheetObject("CH362")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;set p = chart.GetProperties&lt;/P&gt;&lt;P&gt;set expr = p.Expressions.Item(0).Item(0).Data.ExpressionVisual&lt;/P&gt;&lt;P&gt;expr.ColWidth = 50&lt;/P&gt;&lt;P&gt;chart.SetProperties p&lt;/P&gt;&lt;P&gt;set expr = p.Expressions.Item(1).Item(0).Data.ExpressionVisual&lt;/P&gt;&lt;P&gt;expr.ColWidth = 400&lt;/P&gt;&lt;P&gt;chart.SetProperties p&lt;/P&gt;&lt;P&gt;set expr = p.Expressions.Item(2).Item(0).Data.ExpressionVisual&lt;/P&gt;&lt;P&gt;expr.ColWidth = 400&lt;/P&gt;&lt;P&gt;chart.SetProperties p&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gr.&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Sep 2012 14:55:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-09-24T14:55:51Z</dc:date>
    <item>
      <title>Column Width 2 pivot tables</title>
      <link>https://community.qlik.com/t5/QlikView/Column-Width-2-pivot-tables/m-p/433766#M1165703</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 wish to get the column width of 2 pivot tables which are placed very close next to each other to have the exact same width for each column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I know the exact column width of every cell in both pivots&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 11:15:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-Width-2-pivot-tables/m-p/433766#M1165703</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2012-09-24T11:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Column Width 2 pivot tables</title>
      <link>https://community.qlik.com/t5/QlikView/Column-Width-2-pivot-tables/m-p/433767#M1165704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Helen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use a macro to set the width of a column (somehow there is no normal function in qlikview to do that).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below an example of the code:&lt;/P&gt;&lt;P&gt;Sub breedte&lt;/P&gt;&lt;P&gt;set chart = ActiveDocument.GetSheetObject("CH362")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;set p = chart.GetProperties&lt;/P&gt;&lt;P&gt;set expr = p.Expressions.Item(0).Item(0).Data.ExpressionVisual&lt;/P&gt;&lt;P&gt;expr.ColWidth = 50&lt;/P&gt;&lt;P&gt;chart.SetProperties p&lt;/P&gt;&lt;P&gt;set expr = p.Expressions.Item(1).Item(0).Data.ExpressionVisual&lt;/P&gt;&lt;P&gt;expr.ColWidth = 400&lt;/P&gt;&lt;P&gt;chart.SetProperties p&lt;/P&gt;&lt;P&gt;set expr = p.Expressions.Item(2).Item(0).Data.ExpressionVisual&lt;/P&gt;&lt;P&gt;expr.ColWidth = 400&lt;/P&gt;&lt;P&gt;chart.SetProperties p&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gr.&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 14:55:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-Width-2-pivot-tables/m-p/433767#M1165704</guid>
      <dc:creator />
      <dc:date>2012-09-24T14:55:51Z</dc:date>
    </item>
  </channel>
</rss>

