<?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: Modifying an excel file from jmp in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Modifying-an-excel-file-from-jmp/m-p/59481#M32622</link>
    <description>&lt;P&gt;You could import the excel file, modify, and then export back to an xlsx format, but you would lose any Excel-specific functionality in doing so.&amp;nbsp; This would only work if you had a spreadsheet of just column headers and data with no formulas, special formatting, etc.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jun 2018 16:24:32 GMT</pubDate>
    <dc:creator>cwillden</dc:creator>
    <dc:date>2018-06-06T16:24:32Z</dc:date>
    <item>
      <title>Modifying an excel file from jmp</title>
      <link>https://community.jmp.com/t5/Discussions/Modifying-an-excel-file-from-jmp/m-p/59471#M32620</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Is there a way to&amp;nbsp; modify an existing EXCEL file (a single particular row)&amp;nbsp; and save it back on the original folder from jmp?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Any help would be appreciated.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2018 16:10:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Modifying-an-excel-file-from-jmp/m-p/59471#M32620</guid>
      <dc:creator>Luis180189</dc:creator>
      <dc:date>2018-06-06T16:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying an excel file from jmp</title>
      <link>https://community.jmp.com/t5/Discussions/Modifying-an-excel-file-from-jmp/m-p/59481#M32622</link>
      <description>&lt;P&gt;You could import the excel file, modify, and then export back to an xlsx format, but you would lose any Excel-specific functionality in doing so.&amp;nbsp; This would only work if you had a spreadsheet of just column headers and data with no formulas, special formatting, etc.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2018 16:24:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Modifying-an-excel-file-from-jmp/m-p/59481#M32622</guid>
      <dc:creator>cwillden</dc:creator>
      <dc:date>2018-06-06T16:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying an excel file from jmp</title>
      <link>https://community.jmp.com/t5/Discussions/Modifying-an-excel-file-from-jmp/m-p/59484#M32625</link>
      <description>&lt;P&gt;Im looking for a JSL script that allows me to do this.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2018 16:33:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Modifying-an-excel-file-from-jmp/m-p/59484#M32625</guid>
      <dc:creator>Luis180189</dc:creator>
      <dc:date>2018-06-06T16:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying an excel file from jmp</title>
      <link>https://community.jmp.com/t5/Discussions/Modifying-an-excel-file-from-jmp/m-p/59495#M32633</link>
      <description>&lt;P&gt;In the spirit of teaching to fish rather than handing out fish, I'm going to point you in the right direction.&amp;nbsp; First step is to let JMP write the script for you to import the table.&amp;nbsp; Import one of your excel files manually, using Excel Import Wizard if necessary.&amp;nbsp; The resulting table will have a script titled "Source" that contains the script to import the Excel file.&amp;nbsp; It might look something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Open(
	"filename.xlsx",
	Worksheets( "Sheet 1" ),
	Use for all sheets( 1 ),
	Concatenate Worksheets( 0 ),
	Create Concatenation Column( 0 ),
	Worksheet Settings(
		1,
		Has Column Headers( 1 ),
		Number of Rows in Headers( 1 ),
		Headers Start on Row( 1 ),
		Data Starts on Row( 2 ),
		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( "-" )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the start of your own script.&amp;nbsp; Copy it over to a script window.&amp;nbsp; To put a handle on the data table&amp;nbsp;from the imported Excel file,&amp;nbsp; just put a "&amp;lt;var name&amp;gt; = " before "Open(".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next, you need to do whatever modification to the table contents.&amp;nbsp; You can access a specific value in the desired row and column and set the value using something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt:&amp;lt;colname&amp;gt;[&amp;lt;row number&amp;gt;] = &amp;lt;desired value&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the column name has any special characters, then use dt:Name("&amp;lt;column name&amp;gt;")[&amp;lt;row number&amp;gt;].&lt;/P&gt;&lt;P&gt;Last, you need to export the results.&amp;nbsp; There are a few other posts on the community that walk you through saving a JMP table in the .xlsx format.&amp;nbsp;Here's a recent one: &lt;A href="https://community.jmp.com/t5/Discussions/Saving-Data-Table-to-Excel-format/td-p/40392" target="_self"&gt;https://community.jmp.com/t5/Discussions/Saving-Data-Table-to-Excel-format/td-p/40392&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I strongly encourage you to try and put the pieces together on your own.&amp;nbsp; That's the only way you will become proficient at scripting.&amp;nbsp; If you do get stuck on any particular part, we're here to help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2018 18:50:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Modifying-an-excel-file-from-jmp/m-p/59495#M32633</guid>
      <dc:creator>cwillden</dc:creator>
      <dc:date>2018-06-06T18:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying an excel file from jmp</title>
      <link>https://community.jmp.com/t5/Discussions/Modifying-an-excel-file-from-jmp/m-p/59552#M32663</link>
      <description>&lt;P&gt;If you are using the Window OS and know a little VBscript, you can do this using Run Program.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The attached script uses wscript (as far as I know always on Windows OS). It opens Big Class then saves it as Excel to emulate, an existing Excel workbook.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The simple VBscript changes the value of Row E3 and colors the cell yellow.&amp;nbsp; This script is using JSL to write the VBscript, however, the script could exist, and just be executed from JMP or numerous other methods.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JMP uses wscript to execute the VBscript that was saved.&amp;nbsp; This is one option to update a Workbook and not lose the other features of Excel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 10:58:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Modifying-an-excel-file-from-jmp/m-p/59552#M32663</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2018-06-07T10:58:13Z</dc:date>
    </item>
  </channel>
</rss>

