<?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: JSL help: How can I open an excel spreadsheets and delete duplicates? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JSL-help-How-can-I-open-an-excel-spreadsheets-and-delete/m-p/430846#M68057</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Your Excel file does not contain the worksheet named "Sheet1" (it is called "Data" instead). Hence, JMP cannot open the file. If all your Excel files look the same, just change the value of the Worksheets variable in your script to "Data".&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;TS&lt;/P&gt;</description>
    <pubDate>Wed, 27 Oct 2021 20:27:21 GMT</pubDate>
    <dc:creator>Thierry_S</dc:creator>
    <dc:date>2021-10-27T20:27:21Z</dc:date>
    <item>
      <title>JSL help: How can I open an excel spreadsheets and delete duplicates?</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-help-How-can-I-open-an-excel-spreadsheets-and-delete/m-p/430837#M68056</link>
      <description>&lt;P&gt;I have my script (from the excel import wizard) as well as the example attached. All those columns are there but I just removed the data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am mainly looking to open an excel spreadsheet and only keep columns B and C while also deleting duplicate rows. I keep getting errors when debugging that the&amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hobbi_0-1635365476937.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/37057iC93318171DC7BF72/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hobbi_0-1635365476937.png" alt="Hobbi_0-1635365476937.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is my script so far. I don't have a duplicate delete portion because I keep trying to deal with this error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All the spreadsheets I intend to open have the same format as the attached one. Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;Clear Symbols();

names default to here(1);

path = Pick File ();

dt = Open(
	path,
	Worksheets( "Sheet1" ),
	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( 2 ),
		Data Ends on Row( 0 ),
		Data Ends on Column( 3 ),
		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;</description>
      <pubDate>Fri, 09 Jun 2023 18:03:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-help-How-can-I-open-an-excel-spreadsheets-and-delete/m-p/430837#M68056</guid>
      <dc:creator>Hobbi</dc:creator>
      <dc:date>2023-06-09T18:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: JSL help: How can I open an excel spreadsheets and delete duplicates?</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-help-How-can-I-open-an-excel-spreadsheets-and-delete/m-p/430846#M68057</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Your Excel file does not contain the worksheet named "Sheet1" (it is called "Data" instead). Hence, JMP cannot open the file. If all your Excel files look the same, just change the value of the Worksheets variable in your script to "Data".&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;TS&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 20:27:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-help-How-can-I-open-an-excel-spreadsheets-and-delete/m-p/430846#M68057</guid>
      <dc:creator>Thierry_S</dc:creator>
      <dc:date>2021-10-27T20:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: JSL help: How can I open an excel spreadsheets and delete duplicates?</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-help-How-can-I-open-an-excel-spreadsheets-and-delete/m-p/430856#M68059</link>
      <description>&lt;P&gt;Oh man - something so simple. Thank you very much!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 20:47:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-help-How-can-I-open-an-excel-spreadsheets-and-delete/m-p/430856#M68059</guid>
      <dc:creator>Hobbi</dc:creator>
      <dc:date>2021-10-27T20:47:41Z</dc:date>
    </item>
  </channel>
</rss>

