<?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: Excel Column Header in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Excel-Column-Header/m-p/3117824#M894792</link>
    <description>&lt;P&gt;Thanks for your help.&lt;/P&gt;
&lt;P&gt;Its seems complicated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 11 Apr 2015 08:52:30 GMT</pubDate>
    <dc:creator>keremgeliz</dc:creator>
    <dc:date>2015-04-11T08:52:30Z</dc:date>
    <item>
      <title>Excel Column Header</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Excel-Column-Header/m-p/3112234#M892550</link>
      <description>&lt;P&gt;Hello all.&lt;/P&gt;
&lt;P&gt;I am creating 7 columns data for every itteration from for loop.&lt;/P&gt;
&lt;P&gt;My materialnumbers isnt constant. So`its can be 10 or 3. I can write&amp;nbsp;all datas to spreadsheet without headers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need save my datas like attachment to excel.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this excel file headers creating automaticly.&lt;/P&gt;
&lt;P&gt;Every for itteration i creating 1 material and 7 values (array values).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;Kerem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2015 12:26:27 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Excel-Column-Header/m-p/3112234#M892550</guid>
      <dc:creator>keremgeliz</dc:creator>
      <dc:date>2015-03-31T12:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Column Header</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Excel-Column-Header/m-p/3112334#M892576</link>
      <description>&lt;P&gt;Without one of the add-on toolkits you can not merge cells like the first row of your headers or color cells.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe the XLR8 add on will do that, maybe the NI MS Office Reports Toolkit &amp;nbsp;will too but I don't know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your second row is easy just write the headers to your file as strings once before you write any data.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2015 15:05:41 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Excel-Column-Header/m-p/3112334#M892576</guid>
      <dc:creator>RTSLVU</dc:creator>
      <dc:date>2015-03-31T15:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Column Header</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Excel-Column-Header/m-p/3112730#M892727</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;
&lt;P&gt;I can do second row with MS-Office Report Tools.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But first row is problem still.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2015 05:20:21 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Excel-Column-Header/m-p/3112730#M892727</guid>
      <dc:creator>keremgeliz</dc:creator>
      <dc:date>2015-04-01T05:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Column Header</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Excel-Column-Header/m-p/3112790#M892754</link>
      <description>&lt;P&gt;This can be done but needs to use Invoke and property nodes to access the Excel Object Model.&lt;/P&gt;
&lt;P&gt;Once you have a reference to the Workseet use the Range Method to define the cells to merge then use the Merge method on the Range object to merge the cells&lt;/P&gt;
&lt;P&gt;I have also used the range property to set the value and alignment (I dont know why but -4108 centres the text) and create an interior object in order to set the colour&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/59af60bcca8462e80386d1a72b8d686c7bed3298/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f31363531373269453041363134434341374541393745432f696d6167652d73697a652f6f726967696e616c3f763d6d70626c2d312670783d2d31" border="0" alt="Merge Example.png" title="Merge Example.png" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Result&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/febdb68f7ce4051911af6c45fdd3bd0636abd31f/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f31363531373469323931413044434630383433383232372f696d6167652d73697a652f6f726967696e616c3f763d6d70626c2d312670783d2d31" border="0" alt="Merge Result.JPG" title="Merge Result.JPG" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2015 08:10:45 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Excel-Column-Header/m-p/3112790#M892754</guid>
      <dc:creator>Ken_Naylor</dc:creator>
      <dc:date>2015-04-01T08:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Column Header</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Excel-Column-Header/m-p/3113161#M892871</link>
      <description>&lt;P&gt;Unfortunately, ActiveX is no longer so well documented -- I had to struggle to get the ActiveX Help document to do anything in Windows 7 (worked much better in XP). &amp;nbsp;The Horizontal Alignment Property, according to Microsoft, can be any of the following xlHAlign constants:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignCenter&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignCenterAcrossSelection&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignDistributed&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignFill&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignGeneral&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignJustify&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignLeft&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignRight&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I couldn't get values for these. &amp;nbsp;However, I did find, on the Web, a reference for Office 2007 with values (and no explanation):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignCenter &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -4108&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignCenterAcrossSelection &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;7&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignDistributed &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -4117&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignFill &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignGeneral &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignJustify &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -4130&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignLeft &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -4131&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignRight &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -4152&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that the numbers are either three-bit positive numbers or 6 bit numbers with the higher 10 bits all set (I'm assuming this is intended to be a U16 quantity). &amp;nbsp;On the other hand, it really only needs the lower six bits -- I wonder what would happen if you tried 52 instead of -4108 ... &amp;nbsp;Ahh, the wonders of Microsoft Abandonware ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bob Schor&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2015 15:52:36 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Excel-Column-Header/m-p/3113161#M892871</guid>
      <dc:creator>Bob_Schor</dc:creator>
      <dc:date>2015-04-01T15:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Column Header</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Excel-Column-Header/m-p/3113210#M892892</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/95728"&gt;@Bob_Schor&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Unfortunately, ActiveX is no longer so well documented -- I had to struggle to get the ActiveX Help document to do anything in Windows 7 (worked much better in XP). &amp;nbsp;The Horizontal Alignment Property, according to Microsoft, can be any of the following xlHAlign constants:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignCenter&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignCenterAcrossSelection&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignDistributed&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignFill&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignGeneral&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignJustify&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignLeft&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignRight&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I couldn't get values for these. &amp;nbsp;However, I did find, on the Web, a reference for Office 2007 with values (and no explanation):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignCenter &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -4108&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignCenterAcrossSelection &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;7&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignDistributed &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -4117&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignFill &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignGeneral &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignJustify &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -4130&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignLeft &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -4131&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;xlHAlignRight &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -4152&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that the numbers are either three-bit positive numbers or 6 bit numbers with the higher 10 bits all set (I'm assuming this is intended to be a U16 quantity). &amp;nbsp;On the other hand, it really only needs the lower six bits -- I wonder what would happen if you tried 52 instead of -4108 ... &amp;nbsp;Ahh, the wonders of Microsoft Abandonware ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bob Schor&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You can find the values&lt;A href="https://msdn.microsoft.com/EN-US/library/office/ff840772.aspx" target="_self"&gt; here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ben64&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2015 16:32:37 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Excel-Column-Header/m-p/3113210#M892892</guid>
      <dc:creator>ben64</dc:creator>
      <dc:date>2015-04-01T16:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Column Header</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Excel-Column-Header/m-p/3117824#M894792</link>
      <description>&lt;P&gt;Thanks for your help.&lt;/P&gt;
&lt;P&gt;Its seems complicated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Apr 2015 08:52:30 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Excel-Column-Header/m-p/3117824#M894792</guid>
      <dc:creator>keremgeliz</dc:creator>
      <dc:date>2015-04-11T08:52:30Z</dc:date>
    </item>
  </channel>
</rss>

