<?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: How do I input column headers in an Excel report with variable width columns? in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246250#M525902</link>
    <description>&lt;P&gt;That might work. I will work out the code and post back when I get it squared away. Excellent idea! Thank you very much!&lt;/P&gt;</description>
    <pubDate>Mon, 13 Sep 2010 17:28:39 GMT</pubDate>
    <dc:creator>SciManStev</dc:creator>
    <dc:date>2010-09-13T17:28:39Z</dc:date>
    <item>
      <title>How do I input column headers in an Excel report with variable width columns?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246094#M525860</link>
      <description>&lt;P&gt;I am trying to create an Excel report with variable column widths so that the column headers have a blue background, and show up at the top of each page in the report. The end report will use text wrapping. How can I do this?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2010 15:43:24 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246094#M525860</guid>
      <dc:creator>SciManStev</dc:creator>
      <dc:date>2010-09-13T15:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do I input column headers in an Excel report with variable width columns?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246156#M525876</link>
      <description>&lt;P&gt;Report generation toolkit can help you in this matter, Go to Excel format API and you can use all the different API to set your cell border, alignment, colors etc etc&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2010 16:19:18 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246156#M525876</guid>
      <dc:creator>systemcrash</dc:creator>
      <dc:date>2010-09-13T16:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I input column headers in an Excel report with variable width columns?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246186#M525883</link>
      <description>&lt;P&gt;I am able to create the report. Other than the headers, each line is a record from a database. I can set the report so that the headers are blue, and the text wraps around after the report is finished. That is not the problem. The problem comes in trying to keep the headers at the top of each new page. The vi's that actually insert column headers will do it, but force the column widths to one value, even when using a template. Typically what I have done is to lay out the column headers and widths, and color if needed, then filll the report row by row with different database records. What I need to do is reinsert the column headers at the top of the next page. Can I poll the report and see when a new page is started? That way I could reinsert the headers as a&amp;nbsp;row in the report.&amp;nbsp;Or is there some other method for doing this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2010 16:41:08 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246186#M525883</guid>
      <dc:creator>SciManStev</dc:creator>
      <dc:date>2010-09-13T16:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do I input column headers in an Excel report with variable width columns?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246206#M525888</link>
      <description>&lt;P&gt;How about instead of using column headers you update each top cell induvidually and then format this accordingly according to your requirement, but I doubt the cell width might alter when you format the columns below, hope you are getting what I mean.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff"&gt;Can I poll the report and see when a new page is started? That way I could reinsert the headers as a&amp;nbsp;row in the report.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#333333"&gt;I believe it is up to you when do you want to stop updating the page 1 in excel and move on to page 2 or wait until all 65536 rows are filled and then move 2 next page.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2010 16:57:17 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246206#M525888</guid>
      <dc:creator>systemcrash</dc:creator>
      <dc:date>2010-09-13T16:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: How do I input column headers in an Excel report with variable width columns?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246226#M525895</link>
      <description>&lt;P&gt;&lt;FONT color="#3366ff"&gt;How about instead of using column headers you update each top cell induvidually and then format this accordingly according to your requirement, but I doubt the cell width might alter when you format the columns below, hope you are getting what I mean.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#3366ff"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;This is what I have been doing up to this point. The only thing I can't do is to reinsert the column headers at the top of the next page because I don't know when the next page starts. The database records vary in size so that because of the wrap around` text&amp;nbsp;at the end, each row can and does vary considerably in height. That means that there could be 1 to 25 rows per page. If I knew when the next page was to start, I could reinsert the headers and color easily. Without knowing how many rows are going to be for each page, or not knowing when a page break is created&amp;nbsp;makes this impossible. I can easily create the entire report the way I want it except that the column headers are only displayed once, at the very top. The example Excel sheet my boss handed me that I am supposed to duplicate has the column headers at the top of each page. There could be between 1 and 200 pages, so only having the column headers displayed once would make the report hard to read.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Thank you!&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2010 17:10:44 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246226#M525895</guid>
      <dc:creator>SciManStev</dc:creator>
      <dc:date>2010-09-13T17:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: How do I input column headers in an Excel report with variable width columns?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246244#M525900</link>
      <description>&lt;P&gt;How about using the EXCEL GET WORKSHEET function to track for the page number, keep monitoring the page number when there is change in number you can insert the column names in new page and allow the excel page to be filled up again. Did you try this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2010 17:26:05 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246244#M525900</guid>
      <dc:creator>systemcrash</dc:creator>
      <dc:date>2010-09-13T17:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I input column headers in an Excel report with variable width columns?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246250#M525902</link>
      <description>&lt;P&gt;That might work. I will work out the code and post back when I get it squared away. Excellent idea! Thank you very much!&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2010 17:28:39 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246250#M525902</guid>
      <dc:creator>SciManStev</dc:creator>
      <dc:date>2010-09-13T17:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do I input column headers in an Excel report with variable width columns?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246252#M525903</link>
      <description>&lt;P&gt;Well my question would be how the control goes to next page when you are not directing it to go to next page.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2010 17:28:40 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246252#M525903</guid>
      <dc:creator>systemcrash</dc:creator>
      <dc:date>2010-09-13T17:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I input column headers in an Excel report with variable width columns?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246260#M525905</link>
      <description>&lt;P&gt;The rows increase one at a time. In Excel itself, when you specify from the page setup "down then over or over then down, Excel shows a dotted line where the page boundries are. That dotted line changes as you manually&amp;nbsp;increase or decrease the row height, but gives the same size for a page. My report just keeps extending downward until it finishes. I will try your method and see what happens.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2010 17:33:38 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246260#M525905</guid>
      <dc:creator>SciManStev</dc:creator>
      <dc:date>2010-09-13T17:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do I input column headers in an Excel report with variable width columns?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246332#M525923</link>
      <description>&lt;P&gt;Well, that didn't work. I am not changing worksheets, just adding row after row. The concept seems valid, so I will keep searching for a vi that says a page break was just added. I think I may be out of luck.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2010 18:06:16 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246332#M525923</guid>
      <dc:creator>SciManStev</dc:creator>
      <dc:date>2010-09-13T18:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I input column headers in an Excel report with variable width columns?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246340#M525924</link>
      <description>&lt;P&gt;Well, you always have control to write the data into excel file, you can write 500 rows of data in page 1 and then move to page 2 and similarly page 100 if you want to.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As far as I see you read the data from from database and dump the same data to the excel file,. you can write how much ever data you want to correct ? Tryout programming in this fashion.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2010 18:10:29 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246340#M525924</guid>
      <dc:creator>systemcrash</dc:creator>
      <dc:date>2010-09-13T18:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do I input column headers in an Excel report with variable width columns?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246370#M525930</link>
      <description>&lt;P&gt;Here is the vi I am working with. It is saved to the frame where the column headers are created. The next frame is a for loop which first gets the next database record, then applies it to the report.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2010 18:25:57 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246370#M525930</guid>
      <dc:creator>SciManStev</dc:creator>
      <dc:date>2010-09-13T18:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do I input column headers in an Excel report with variable width columns?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246404#M525940</link>
      <description>&lt;P&gt;This is a fictional worksheet generated by the vi to show what it will look like.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2010 18:54:47 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246404#M525940</guid>
      <dc:creator>SciManStev</dc:creator>
      <dc:date>2010-09-13T18:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I input column headers in an Excel report with variable width columns?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246408#M525942</link>
      <description>&lt;P&gt;Alright, Instead of using Increment Column VI use the "EXCEL EASY TEXT.VI " to update your column name and make use of start and end index to control your column index. This will avoid the use of basic report generation API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looks like you have lots of column to update, but I can see that you have sequence inside sequence inside sequence, you can really modify the logic and come up with better ones.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Well in my earlier reply I meant use the EXCEL EASY TEXT VI to update the column names, and since you get the data from the database you can write data in a loop at once&amp;nbsp;instead of writing into variable and then writing into excel sheet.Use "EXCEL EASY TABLE" to write the data into excel file at once, remember to properly program the start and end inputs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attaching the excel sheet generated from my program and see the wonders what we can do from NI report generation toolkit&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have attached some programs of my project&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2010 19:01:02 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246408#M525942</guid>
      <dc:creator>systemcrash</dc:creator>
      <dc:date>2010-09-13T19:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do I input column headers in an Excel report with variable width columns?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246416#M525943</link>
      <description>&lt;P&gt;Awesome! I think you have put me on the right track. I will try your suggestions and post back.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2010 18:59:31 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246416#M525943</guid>
      <dc:creator>SciManStev</dc:creator>
      <dc:date>2010-09-13T18:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do I input column headers in an Excel report with variable width columns?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246480#M525963</link>
      <description>&lt;P&gt;SciManStev,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do the headers just need to show up when the report is printed?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2010 19:46:09 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246480#M525963</guid>
      <dc:creator>Wayne.C</dc:creator>
      <dc:date>2010-09-13T19:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I input column headers in an Excel report with variable width columns?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246486#M525966</link>
      <description>&lt;P&gt;Yes. Only when the report is printed. Several copies of the report are passed out at meetings for review. On the monitor itself, I don't care.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2010 19:48:59 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246486#M525966</guid>
      <dc:creator>SciManStev</dc:creator>
      <dc:date>2010-09-13T19:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: How do I input column headers in an Excel report with variable width columns?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246496#M525969</link>
      <description>&lt;P&gt;SciManStev,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Very easy way to do this.&amp;nbsp; In Excel its called 'Rows to repeat at top:'&amp;nbsp;&amp;nbsp; You can access the setting using ActiveX.&amp;nbsp; I've attached a simple example that sets Row1 of worksheet to be repeated at top of each printed page.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://forums.ni.com/ni/attachments/ni/170/525969/1/Excel%20Repeat%20Rows.png" border="0" width="810" height="130" align="center" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2010 19:56:56 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246496#M525969</guid>
      <dc:creator>Wayne.C</dc:creator>
      <dc:date>2010-09-13T19:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do I input column headers in an Excel report with variable width columns?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246510#M525973</link>
      <description>&lt;P&gt;I think that is just perfect! I was hoping it would be that easy! Thank you both very, very much!&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2010 20:01:28 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/1246510#M525973</guid>
      <dc:creator>SciManStev</dc:creator>
      <dc:date>2010-09-13T20:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do I input column headers in an Excel report with variable width columns?</title>
      <link>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/2328412#M730019</link>
      <description>&lt;P&gt;I have exported the table with "excel specific vi's" with column headers data at the top of the &amp;nbsp;1 st page. but,&amp;nbsp;I want to add column headers to each page of the excel report programmatically.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Can anyone give me the answer.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2013 09:05:24 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/How-do-I-input-column-headers-in-an-Excel-report-with-variable/m-p/2328412#M730019</guid>
      <dc:creator>mubin</dc:creator>
      <dc:date>2013-02-26T09:05:24Z</dc:date>
    </item>
  </channel>
</rss>

