<?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 import .txt file with several rows of column header in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-import-txt-file-with-several-rows-of-column-header/m-p/561601#M77468</link>
    <description>&lt;P&gt;I think you might be able to do it with Multiple File Import (depending on your data). Change Settings and modify CSV import settings as needed&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1666942462776.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/46672iE4C9EBC378953E95/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1666942462776.png" alt="jthi_0-1666942462776.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Oct 2022 07:34:49 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2022-10-28T07:34:49Z</dc:date>
    <item>
      <title>How do I import .txt file with several rows of column header</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-import-txt-file-with-several-rows-of-column-header/m-p/561595#M77467</link>
      <description>&lt;P&gt;How do I import .txt file with several rows of column header?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is no selection in txt import window to select multiple rows as column header similar to Excel Import Wizard&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, what I did was.&lt;/P&gt;&lt;P&gt;Import text as JMP table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Save the JMP table as xlsx. file&lt;/P&gt;&lt;P&gt;Import the xlsx. file by using Excel Import Wizard and specify how many rows we need for the column header&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any other way?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dT = current data table();
Directory = "$DESKTOP/";
dT_Name = dT &amp;lt;&amp;lt; get Name();
XL_Name = Directory || dT_Name || ".xlsx";
dT &amp;lt;&amp;lt;  Save( XL_Name );
Close(dT);

Open(
	XL_Name,
	Worksheets( dT_Name ),
	Use for all sheets( 1 ),
	Concatenate Worksheets( 0 ),
	Create Concatenation Column( 0 ),
	Worksheet Settings(
		1,
		Has Column Headers( 1 ),
		Number of Rows in Headers( 3 ),
		Headers Start on Row( 3 ),
		Data Starts on Row( 6 ),
		Data Starts on Column( 1 ),
		Data Ends on Row( 0 ),
		Data Ends on Column( 0 ),
		Replicated Spanned Rows( 1 ),
		Replicated Spanned Headers( 0 ),
		Suppress Hidden Rows( 1 ),
		Suppress Hidden Columns( 1 ),
		Suppress Empty Columns( 1 ),
		Treat as Hierarchy( 0 ),
		Multiple Series Stack( 0 ),
		Import Cell Colors( 0 ),
		Limit Column Detect( 0 ),
		Column Separator String( "-" )
	)
);

Delete File(XL_Name);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:56:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-import-txt-file-with-several-rows-of-column-header/m-p/561595#M77467</guid>
      <dc:creator>Nita_Natchanok</dc:creator>
      <dc:date>2023-06-10T23:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I import .txt file with several rows of column header</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-import-txt-file-with-several-rows-of-column-header/m-p/561601#M77468</link>
      <description>&lt;P&gt;I think you might be able to do it with Multiple File Import (depending on your data). Change Settings and modify CSV import settings as needed&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1666942462776.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/46672iE4C9EBC378953E95/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1666942462776.png" alt="jthi_0-1666942462776.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 07:34:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-import-txt-file-with-several-rows-of-column-header/m-p/561601#M77468</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-10-28T07:34:49Z</dc:date>
    </item>
  </channel>
</rss>

