<?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 Loop Through St.Table to get the hidden column values through macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loop-Through-St-Table-to-get-the-hidden-column-values-through/m-p/585434#M1114669</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to loop through a straight table where in i want to get the values of the hidden columns as well? Is there any way that i can do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As of now the below code loops through the table's column, but fetches only the visible column data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;set table = ActiveDocument.GetSheetObject("CH01") &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;for RowIter = 0 to table.GetRowCount-1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for ColIter =0 to table.GetColumnCount-1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set cell = table.GetCell(RowIter,ColIter)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgbox cell.Text &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion pls.&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;Sarathi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Feb 2014 13:24:53 GMT</pubDate>
    <dc:creator>sarathi_pm</dc:creator>
    <dc:date>2014-02-28T13:24:53Z</dc:date>
    <item>
      <title>Loop Through St.Table to get the hidden column values through macro</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-Through-St-Table-to-get-the-hidden-column-values-through/m-p/585434#M1114669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to loop through a straight table where in i want to get the values of the hidden columns as well? Is there any way that i can do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As of now the below code loops through the table's column, but fetches only the visible column data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;set table = ActiveDocument.GetSheetObject("CH01") &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;for RowIter = 0 to table.GetRowCount-1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for ColIter =0 to table.GetColumnCount-1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set cell = table.GetCell(RowIter,ColIter)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgbox cell.Text &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion pls.&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;Sarathi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 13:24:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-Through-St-Table-to-get-the-hidden-column-values-through/m-p/585434#M1114669</guid>
      <dc:creator>sarathi_pm</dc:creator>
      <dc:date>2014-02-28T13:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Loop Through St.Table to get the hidden column values through macro</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-Through-St-Table-to-get-the-hidden-column-values-through/m-p/585435#M1114670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, this macro can't read hidden columns.&lt;/P&gt;&lt;P&gt;Can you just squeeze the column width to 0 instead of hiding it?&amp;nbsp; Another option, make it reasonably narrow, and use font color same as background (e.g. white on white).&lt;/P&gt;&lt;P&gt;Yet another possible solution - un-hide column in the beginning of the macro and hide at the end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 14:15:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-Through-St-Table-to-get-the-hidden-column-values-through/m-p/585435#M1114670</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-28T14:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Loop Through St.Table to get the hidden column values through macro</title>
      <link>https://community.qlik.com/t5/QlikView/Loop-Through-St-Table-to-get-the-hidden-column-values-through/m-p/585436#M1114671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael. &lt;/P&gt;&lt;P&gt;Thanks for spending time and helping me.&lt;/P&gt;&lt;P&gt;The work around looks good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;sarathi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Mar 2014 06:23:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loop-Through-St-Table-to-get-the-hidden-column-values-through/m-p/585436#M1114671</guid>
      <dc:creator>sarathi_pm</dc:creator>
      <dc:date>2014-03-01T06:23:23Z</dc:date>
    </item>
  </channel>
</rss>

