<?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: Paste data from JMP to Excel in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Paste-data-from-JMP-to-Excel/m-p/49754#M28315</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/6696"&gt;@uday_guntupalli&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is similar to what I was thinking, making the subset and copying from there. But this would make a new workbook, correct? I am looking to copy the subset to the clipboard and then later on paste into the original workbook if possible.&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jan 2018 13:09:23 GMT</pubDate>
    <dc:creator>rinosaur</dc:creator>
    <dc:date>2018-01-17T13:09:23Z</dc:date>
    <item>
      <title>Paste data from JMP to Excel</title>
      <link>https://community.jmp.com/t5/Discussions/Paste-data-from-JMP-to-Excel/m-p/49750#M28311</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I currently have a script which automatically populates a JMP table with Excel data, then runs a non-linear regression and saves the fitted data. I would then like to copy these new columns back into the same, open, Excel document. Is there a simple way to select the new columns, and then copy the data to the clipboard using JSL so I can paste it back in Excel?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2018 12:41:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Paste-data-from-JMP-to-Excel/m-p/49750#M28311</guid>
      <dc:creator>rinosaur</dc:creator>
      <dc:date>2018-01-17T12:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Paste data from JMP to Excel</title>
      <link>https://community.jmp.com/t5/Discussions/Paste-data-from-JMP-to-Excel/m-p/49753#M28314</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/10724"&gt;@rinosaur&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Hello. The following piece of code might be useful in achieveing what you are after :&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;// Open Sample Data
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );  

// Specify Output Folder Location - edit per your needs 
OutputFolder = "C:\";

// Get List of Columns 
ColNames = dt &amp;lt;&amp;lt; Get Column Names("String"); 

// Specify Columns you desired to copy and paste into excel 
DesColumnsList = {"age","sex"}; 

// Loop through columns to select columns you want 
for(i = 1, i &amp;lt;= N Cols(dt), i++,
		If(Contains(DesColumnsList,ColNames[i]),
				Col = Column(dt,i); // Get Reference for Column 
				Col &amp;lt;&amp;lt; Set Selected(1); 
		  );
   );
   
// Subset Selected columns 
dt_New = dt &amp;lt;&amp;lt; Subset(Selected Rows(0),Selected Columns(1));  

// Save Desired Table 
Close(dt_New,Save(OutputFolder || "test.xlsx"));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Jan 2018 13:03:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Paste-data-from-JMP-to-Excel/m-p/49753#M28314</guid>
      <dc:creator>uday_guntupalli</dc:creator>
      <dc:date>2018-01-17T13:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Paste data from JMP to Excel</title>
      <link>https://community.jmp.com/t5/Discussions/Paste-data-from-JMP-to-Excel/m-p/49754#M28315</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/6696"&gt;@uday_guntupalli&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is similar to what I was thinking, making the subset and copying from there. But this would make a new workbook, correct? I am looking to copy the subset to the clipboard and then later on paste into the original workbook if possible.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2018 13:09:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Paste-data-from-JMP-to-Excel/m-p/49754#M28315</guid>
      <dc:creator>rinosaur</dc:creator>
      <dc:date>2018-01-17T13:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Paste data from JMP to Excel</title>
      <link>https://community.jmp.com/t5/Discussions/Paste-data-from-JMP-to-Excel/m-p/49756#M28317</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/10724"&gt;@rinosaur&lt;/a&gt;,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;How about this ?&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;// Opem Sample Data
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

// Write to Excel 
Create Excel Workbook("C:\Test.xlsx",{"Big Class"},{"Big"}); 

// Open Another Sample Data Set 
dt1 =  Open( "$SAMPLE_DATA/Air Traffic.jmp" );

// Write both tables to existing workbook

Create Excel Workbook("C:\Test.xlsx",{"Big Class","Air Traffic"},{"Big","Air"});&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;However, in your case , you will directly append the data into a new tab in Excel to your workbook using the last step .&amp;nbsp;&lt;BR /&gt;So - open you excel workbook as a JMP data table , then have a second data table with the data you want to write and then use Create Excel Workbook as shown above to write to Excel.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want all the data in the same tab , just join the JMP data tables and write to Excel . Hope this helps .&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2018 14:40:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Paste-data-from-JMP-to-Excel/m-p/49756#M28317</guid>
      <dc:creator>uday_guntupalli</dc:creator>
      <dc:date>2018-01-17T14:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Paste data from JMP to Excel</title>
      <link>https://community.jmp.com/t5/Discussions/Paste-data-from-JMP-to-Excel/m-p/49769#M28321</link>
      <description>&lt;P&gt;You need to scan the table and build up a text string that you can put into the clipboard using the Set Clipboard function.&lt;/P&gt;
&lt;P&gt;Use the tab escape (\!t) sequence to separate columns and the new line escape sequence (&lt;SPAN&gt;\!N&lt;/SPAN&gt;)to create rows&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Set Clipboard( "col 1 row 1\!tcol 2 row 1\!tcol 3 row 1\!Ncol 1 row 2\!tcol 2 row 2\!tcol 3 row 2" );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Jan 2018 15:53:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Paste-data-from-JMP-to-Excel/m-p/49769#M28321</guid>
      <dc:creator>David_Burnham</dc:creator>
      <dc:date>2018-01-17T15:53:29Z</dc:date>
    </item>
  </channel>
</rss>

