<?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 xlHAlignLeft in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/VBScript-xlHAlignLeft/m-p/961313#M644476</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;My VBscript for columnwidth is working but the alignment is not.&lt;/P&gt;&lt;P&gt;Any ideas why this would not work in an inline process??&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;objCurrentSheet.Columns("A").ColumnWidth = 35&lt;BR /&gt;objCurrentSheet.Columns("B").ColumnWidth = 125 &lt;BR /&gt;objCurrentSheet.Columns("A").HorizontalAlignment = xlHAlignLeft &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Nov 2015 08:55:04 GMT</pubDate>
    <dc:creator>tinkerz1</dc:creator>
    <dc:date>2015-11-23T08:55:04Z</dc:date>
    <item>
      <title>VBScript xlHAlignLeft</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-xlHAlignLeft/m-p/961313#M644476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;My VBscript for columnwidth is working but the alignment is not.&lt;/P&gt;&lt;P&gt;Any ideas why this would not work in an inline process??&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;objCurrentSheet.Columns("A").ColumnWidth = 35&lt;BR /&gt;objCurrentSheet.Columns("B").ColumnWidth = 125 &lt;BR /&gt;objCurrentSheet.Columns("A").HorizontalAlignment = xlHAlignLeft &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 08:55:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-xlHAlignLeft/m-p/961313#M644476</guid>
      <dc:creator>tinkerz1</dc:creator>
      <dc:date>2015-11-23T08:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: VBScript xlHAlignLeft</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-xlHAlignLeft/m-p/961314#M644477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The xl-constants won't be regocnized in each case. You could try it only with xlLeft but mostly are the numeric equivalent from these xl-constants better to use. In your case try it with 3:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;objCurrentSheet.Columns("A").HorizontalAlignment = xlHAlignLeft&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Helpful is the using of the excel-vba direct-window and there:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;?VarType(xlHAlignLeft) // and then enter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 09:48:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-xlHAlignLeft/m-p/961314#M644477</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-11-23T09:48:26Z</dc:date>
    </item>
  </channel>
</rss>

