<?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: Copying and Pasting Cells in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Copying-and-Pasting-Cells/m-p/16324#M14878</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you need a script to do this many times, or just need to get it done once quickly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To do it quickly, open the file, then use this script (&amp;nbsp; &lt;A href="https://community.jmp.com/docs/DOC-6515" target="_blank"&gt;Fill in Missing Cells&lt;/A&gt;&amp;nbsp; ) to get the site and Y copied to each row.&lt;/P&gt;&lt;P&gt;select one row with the headers, use select matching cells, delete the rows. also do this with the blank rows.&lt;/P&gt;&lt;P&gt;Then use Tables&amp;gt;split to get your final table. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Oct 2016 13:23:30 GMT</pubDate>
    <dc:creator>Byron_JMP</dc:creator>
    <dc:date>2016-10-28T13:23:30Z</dc:date>
    <item>
      <title>Copying and Pasting Cells</title>
      <link>https://community.jmp.com/t5/Discussions/Copying-and-Pasting-Cells/m-p/16323#M14877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a huge file which have many different tests.&amp;nbsp; It looks like each test was appended to the original csv file.&amp;nbsp; I would like to copy and paste the cells which contain the header, and put them into a list.&amp;nbsp; It doesn't matter to me if it is in the same data table or a new one.&amp;nbsp; I would like to write a script to do this.&amp;nbsp; All the tests will be evenly spaced.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't share the file, but here is a better visual for what I am looking for.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10755_pastedImage_0.png" style="width: 463px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/2592iE8B9BC49A3350AA4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10755_pastedImage_0.png" alt="10755_pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The result I would like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10756_pastedImage_1.png" style="width: 421px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/2593i60EE9C0981CD46CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10756_pastedImage_1.png" alt="10756_pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 01:34:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Copying-and-Pasting-Cells/m-p/16323#M14877</guid>
      <dc:creator>natalie_</dc:creator>
      <dc:date>2016-10-19T01:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Copying and Pasting Cells</title>
      <link>https://community.jmp.com/t5/Discussions/Copying-and-Pasting-Cells/m-p/16324#M14878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you need a script to do this many times, or just need to get it done once quickly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To do it quickly, open the file, then use this script (&amp;nbsp; &lt;A href="https://community.jmp.com/docs/DOC-6515" target="_blank"&gt;Fill in Missing Cells&lt;/A&gt;&amp;nbsp; ) to get the site and Y copied to each row.&lt;/P&gt;&lt;P&gt;select one row with the headers, use select matching cells, delete the rows. also do this with the blank rows.&lt;/P&gt;&lt;P&gt;Then use Tables&amp;gt;split to get your final table. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2016 13:23:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Copying-and-Pasting-Cells/m-p/16324#M14878</guid>
      <dc:creator>Byron_JMP</dc:creator>
      <dc:date>2016-10-28T13:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Copying and Pasting Cells</title>
      <link>https://community.jmp.com/t5/Discussions/Copying-and-Pasting-Cells/m-p/16325#M14879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Byron,&lt;/P&gt;&lt;P&gt;This is a good resource for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for a script because I will have to do this many times.&amp;nbsp; Is it possible to move rows to a different data table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was thinking something like this.&amp;nbsp; It does select the rows and make a new data table.&amp;nbsp; It doesn't move the rows over yet because I am not sure of the syntax for it.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;path = "C:\JMP";&lt;/P&gt;&lt;P&gt;fileName = "Sample Table.jmp";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dt = Open(path||"\"||fileName); //open data table&lt;/P&gt;&lt;P&gt;Current Data Table()&amp;lt;&amp;lt;Select Rows (Index(1,10));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dt2=New Table("My Table");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dt &amp;lt;&amp;lt; Move Rows(dt2);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 15:15:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Copying-and-Pasting-Cells/m-p/16325#M14879</guid>
      <dc:creator>natalie_</dc:creator>
      <dc:date>2016-01-14T15:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Copying and Pasting Cells</title>
      <link>https://community.jmp.com/t5/Discussions/Copying-and-Pasting-Cells/m-p/16326#M14880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also tried this, and it works!&amp;nbsp; I don't know if this is the most efficient way to parse data though?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;path = "C:\R&amp;amp;D Data\JMP";&lt;/P&gt;&lt;P&gt;fileName = "Sample Table.jmp";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dt = Open(path||"\"||fileName); //open data table&lt;/P&gt;&lt;P&gt;Current Data Table()&amp;lt;&amp;lt;Select Rows (Index(1,10));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dt&amp;lt;&amp;lt;Subset(Columns(Index(1,4)),Rows(Index(1,10)), Linked, Output Table Name ("New Table"));&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 15:33:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Copying-and-Pasting-Cells/m-p/16326#M14880</guid>
      <dc:creator>natalie_</dc:creator>
      <dc:date>2016-01-14T15:33:38Z</dc:date>
    </item>
  </channel>
</rss>

