<?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 Call a field from TableBox in a macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Call-a-field-from-TableBox-in-a-macro/m-p/1567768#M596503</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I load an excel file in QV.&lt;/P&gt;&lt;P&gt;Then, I create a TableBox object with the main fields from my excel file.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I would like to build a macro calling the fields of my TableBox.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In Visual Basic (in excel), it’s similar to do: worksheets(“Sheet1”).cells(“A1:A1”).value or ThisWorkbook.Worksheets("Sheet1")&lt;/P&gt;&lt;P&gt;I think there is an equivalence in QV.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please could you help me to call a particular field from my table box in a QV macro.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 03:53:45 GMT</pubDate>
    <dc:creator>Black_Hole</dc:creator>
    <dc:date>2024-11-16T03:53:45Z</dc:date>
    <item>
      <title>Call a field from TableBox in a macro</title>
      <link>https://community.qlik.com/t5/QlikView/Call-a-field-from-TableBox-in-a-macro/m-p/1567768#M596503</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I load an excel file in QV.&lt;/P&gt;&lt;P&gt;Then, I create a TableBox object with the main fields from my excel file.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I would like to build a macro calling the fields of my TableBox.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In Visual Basic (in excel), it’s similar to do: worksheets(“Sheet1”).cells(“A1:A1”).value or ThisWorkbook.Worksheets("Sheet1")&lt;/P&gt;&lt;P&gt;I think there is an equivalence in QV.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please could you help me to call a particular field from my table box in a QV macro.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:53:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Call-a-field-from-TableBox-in-a-macro/m-p/1567768#M596503</guid>
      <dc:creator>Black_Hole</dc:creator>
      <dc:date>2024-11-16T03:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Call a field from TableBox in a macro</title>
      <link>https://community.qlik.com/t5/QlikView/Call-a-field-from-TableBox-in-a-macro/m-p/1567834#M596504</link>
      <description>&lt;P&gt;The attached qvw contains a macro that recalls the values of each field in the tablebox.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 18:56:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Call-a-field-from-TableBox-in-a-macro/m-p/1567834#M596504</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2019-04-10T18:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Call a field from TableBox in a macro</title>
      <link>https://community.qlik.com/t5/QlikView/Call-a-field-from-TableBox-in-a-macro/m-p/1568113#M596505</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/14139"&gt;@m_woolf&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your help but I can't open the file test1.qvw due to the security of my computer.&lt;/P&gt;&lt;P&gt;Please could you show me the macro of this file in screenshot or message.&lt;/P&gt;&lt;P&gt;Thank you in advance for your consideration.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 11:04:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Call-a-field-from-TableBox-in-a-macro/m-p/1568113#M596505</guid>
      <dc:creator>Black_Hole</dc:creator>
      <dc:date>2019-04-11T11:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Call a field from TableBox in a macro</title>
      <link>https://community.qlik.com/t5/QlikView/Call-a-field-from-TableBox-in-a-macro/m-p/1568154#M596506</link>
      <description>&lt;P&gt;This is from the API Guide:&lt;/P&gt;&lt;P&gt;set table = ActiveDocument.GetSheetObject( "CH01" )&lt;BR /&gt;CellRect = ActiveDocument.GetApplication().GetEmptyRect()&lt;BR /&gt;CellRect.Top = 0&lt;BR /&gt;CellRect.Left = 0&lt;BR /&gt;CellRect.Width = table.GetColumnCount&lt;BR /&gt;CellRect.Height = table.GetRowCount&lt;BR /&gt;set CellMatrix = table.GetCells( CellRect )&lt;BR /&gt;for RowIter = 0 to CellMatrix.Count-1&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;for ColIter=0 to CellMatrix.Item(RowIter).Count-1&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;set cell = CellMatrix.Item(RowIter).Item(ColIter)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msgbox(cell.Text)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;next&lt;BR /&gt;next&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 11:47:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Call-a-field-from-TableBox-in-a-macro/m-p/1568154#M596506</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2019-04-11T11:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Call a field from TableBox in a macro</title>
      <link>https://community.qlik.com/t5/QlikView/Call-a-field-from-TableBox-in-a-macro/m-p/1568280#M596507</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/14139"&gt;@m_woolf&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Perfect!&lt;/P&gt;&lt;P&gt;The macro run right in my Qlikview and it does exactly what I was looking for.&lt;/P&gt;&lt;P&gt;Thanks a lot&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/14139"&gt;@m_woolf&lt;/a&gt;&amp;nbsp; for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 15:11:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Call-a-field-from-TableBox-in-a-macro/m-p/1568280#M596507</guid>
      <dc:creator>Black_Hole</dc:creator>
      <dc:date>2019-04-11T15:11:36Z</dc:date>
    </item>
  </channel>
</rss>

