<?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: Macro not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-not-working/m-p/1317837#M408866</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the attachment:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 May 2017 10:07:23 GMT</pubDate>
    <dc:creator>m_woolf</dc:creator>
    <dc:date>2017-05-11T10:07:23Z</dc:date>
    <item>
      <title>Macro not working</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-not-working/m-p/1317834#M408863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using the below macro to make all the expressions in a straight table to be right aligned&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUB AdjustAlign&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set chart = ActiveDocument.getsheetobject("CH510")&lt;/P&gt;&lt;P&gt;Set cp =Chart.getproperties&lt;/P&gt;&lt;P&gt;X=3&lt;/P&gt;&lt;P&gt;FOR J= 0 to 9&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set expr = cp.Expressions.Item(J).Item(0).Data.ExpressionVisual&lt;/P&gt;&lt;P&gt;'expr.Label.v= X&lt;/P&gt;&lt;P&gt;expr.NumAdjust = 1 'right&lt;/P&gt;&lt;P&gt;expr.LabelAdjust = 1 'center&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X=X+3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;chart.SetProperties cp&lt;/P&gt;&lt;P&gt;END SUB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it does not seem to work when the same is used to center align things work as expected.&lt;/P&gt;&lt;P&gt;Can anyone please correct the above code for right aligning the straight table expression values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2017 12:05:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-not-working/m-p/1317834#M408863</guid>
      <dc:creator>anushree1</dc:creator>
      <dc:date>2017-05-10T12:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Macro not working</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-not-working/m-p/1317835#M408864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I look at .NumAdjust in the API Guide, I see that 0 = left, 1 = center, and 2 = right&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2017 12:35:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-not-working/m-p/1317835#M408864</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2017-05-10T12:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Macro not working</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-not-working/m-p/1317836#M408865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please share the guide that you are referring to I am very new to Macros so it would help me in learning&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2017 12:58:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-not-working/m-p/1317836#M408865</guid>
      <dc:creator>anushree1</dc:creator>
      <dc:date>2017-05-10T12:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Macro not working</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-not-working/m-p/1317837#M408866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the attachment:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2017 10:07:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-not-working/m-p/1317837#M408866</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2017-05-11T10:07:23Z</dc:date>
    </item>
  </channel>
</rss>

