<?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 Macros fail on Server in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macros-fail-on-Server/m-p/158582#M503508</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I make this macro: &lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;sub setInputFieldValores set oTable = ActiveDocument.GetSheetObject( "CH53" ) set gp = oTable.GetProperties gp.TableProperties.PivotAlwaysFullyExpanded = true oTable.SetProperties gp set oCells = oTable.GetCells2(4,0,1,oTable.GetRowCount) 'Copia valores da coluna 4, "Rentabilidade Realizada" set oCellsP = oTable.GetCells2(3,0,1,oTable.GetRowCount) 'Copia valores da coluna 3, "Quantidades" oTable.Deactivate setFormatacaoNumeros("0") ColIter = 6 for RowIter = 1 to oCells.Count-1 if oCellsP.Item(RowIter).Item(0).Text = "-" then oTable.SetInputFieldCell RowIter,6,oCells.Item(RowIter).Item(0).Number end if next setFormatacaoNumeros("1") gp.TableProperties.PivotAlwaysFullyExpanded = false oTable.SetProperties gp oTable.Activateend sub&lt;/PRE&gt;This macro copy values of a column to another column (inputfield). This work correctly in stand alone QV, but fail on server("Macro parsing failed, the functionality was lost"). The problem occurs in this line: oTable.SetInputFieldCell RowIter,6,oCells.Item(RowIter).Item(0).Number I tried to apply the value for a variable before to apply on cell, but has no sucess. Does someone has any suggestion? I'm be use Qv 9 Server SR3.&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Feb 2010 21:39:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-02-24T21:39:56Z</dc:date>
    <item>
      <title>Macros fail on Server</title>
      <link>https://community.qlik.com/t5/QlikView/Macros-fail-on-Server/m-p/158582#M503508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I make this macro: &lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;sub setInputFieldValores set oTable = ActiveDocument.GetSheetObject( "CH53" ) set gp = oTable.GetProperties gp.TableProperties.PivotAlwaysFullyExpanded = true oTable.SetProperties gp set oCells = oTable.GetCells2(4,0,1,oTable.GetRowCount) 'Copia valores da coluna 4, "Rentabilidade Realizada" set oCellsP = oTable.GetCells2(3,0,1,oTable.GetRowCount) 'Copia valores da coluna 3, "Quantidades" oTable.Deactivate setFormatacaoNumeros("0") ColIter = 6 for RowIter = 1 to oCells.Count-1 if oCellsP.Item(RowIter).Item(0).Text = "-" then oTable.SetInputFieldCell RowIter,6,oCells.Item(RowIter).Item(0).Number end if next setFormatacaoNumeros("1") gp.TableProperties.PivotAlwaysFullyExpanded = false oTable.SetProperties gp oTable.Activateend sub&lt;/PRE&gt;This macro copy values of a column to another column (inputfield). This work correctly in stand alone QV, but fail on server("Macro parsing failed, the functionality was lost"). The problem occurs in this line: oTable.SetInputFieldCell RowIter,6,oCells.Item(RowIter).Item(0).Number I tried to apply the value for a variable before to apply on cell, but has no sucess. Does someone has any suggestion? I'm be use Qv 9 Server SR3.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2010 21:39:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macros-fail-on-Server/m-p/158582#M503508</guid>
      <dc:creator />
      <dc:date>2010-02-24T21:39:56Z</dc:date>
    </item>
  </channel>
</rss>

