<?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 VBScript with Straight Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/VBScript-with-Straight-Table/m-p/169848#M501229</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Miguel!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Mar 2011 20:10:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-03-18T20:10:24Z</dc:date>
    <item>
      <title>VBScript with Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-with-Straight-Table/m-p/169843#M501224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;Is it possible to load a Straight Table cell value into a variable?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 17:41:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-with-Straight-Table/m-p/169843#M501224</guid>
      <dc:creator />
      <dc:date>2011-03-18T17:41:35Z</dc:date>
    </item>
    <item>
      <title>VBScript with Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-with-Straight-Table/m-p/169844#M501225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello and welcome to the Forums,&lt;/P&gt;&lt;P&gt;Rather, you can set the expression you used in the straight table into a variable or in a text object. Say you have a chart showing Country as dimension and Sum(Sales) as expression. If it's one particular value of the dimension what you want to show, create a variable with something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum({&amp;lt; Country = {'ES'} &amp;gt;} Sales)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 18:08:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-with-Straight-Table/m-p/169844#M501225</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-03-18T18:08:34Z</dc:date>
    </item>
    <item>
      <title>VBScript with Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-with-Straight-Table/m-p/169845#M501226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry,&lt;/P&gt;&lt;P&gt;You mean using macros? Then this should work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sub GetCell Set st = ActiveDocument.GetSheetObject("CHXX") '' ID of the straight table stc = st.GetCell(1, 2) '' First row second columnEnd Sub&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 18:15:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-with-Straight-Table/m-p/169845#M501226</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-03-18T18:15:19Z</dc:date>
    </item>
    <item>
      <title>VBScript with Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-with-Straight-Table/m-p/169846#M501227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Miguel!&lt;/P&gt;&lt;P&gt;That's what I'm looking for.&lt;/P&gt;&lt;P&gt;And how can I use the 'stc' value outside the Edit Module and include it in an Expression in a TextBox for instance?&lt;/P&gt;&lt;P&gt;I'm a newbie &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 19:09:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-with-Straight-Table/m-p/169846#M501227</guid>
      <dc:creator />
      <dc:date>2011-03-18T19:09:06Z</dc:date>
    </item>
    <item>
      <title>VBScript with Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-with-Straight-Table/m-p/169847#M501228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Glad to help. Try with this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sub GetCellAndSetText Set st = ActiveDocument.GetSheetObject("CHXX") '' ID of the straight table stc = st.GetCell(1, 2) '' First row second column (including subtotal, if any) Set t = ActiveDocument.GetSheetObject("TXXX") '' ID of the text object t.SetText stc.TextEnd Sub&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 19:41:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-with-Straight-Table/m-p/169847#M501228</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-03-18T19:41:44Z</dc:date>
    </item>
    <item>
      <title>VBScript with Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-with-Straight-Table/m-p/169848#M501229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Miguel!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 20:10:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-with-Straight-Table/m-p/169848#M501229</guid>
      <dc:creator />
      <dc:date>2011-03-18T20:10:24Z</dc:date>
    </item>
  </channel>
</rss>

