<?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: Import xls files with Multiple File Import platform in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Import-xls-files-with-Multiple-File-Import-platform/m-p/542289#M76188</link>
    <description>&lt;P&gt;Don't give up yet! From a windows file explorer (not JMP) try right-click the file and open_with-&amp;gt;notepad or wordpad.&lt;/P&gt;
&lt;P&gt;I'm &lt;EM&gt;&lt;STRONG&gt;guessing&lt;/STRONG&gt;&lt;/EM&gt; you'll see CSV data in the .xls file and renaming it as .CSV will make it work.&lt;/P&gt;
&lt;P&gt;If you have more than a handful of these files to rename, JMP has a FilesInDirectory function to find them and a renameFile(?) function to rename them.&lt;/P&gt;
&lt;P&gt;You might also see binary data or some sort of XML data in notepad, paste the front of that data so we can guess again...&lt;BR /&gt;(I'm out for the rest of the day. Someone else may have a good idea.)&lt;/P&gt;</description>
    <pubDate>Thu, 08 Sep 2022 16:02:25 GMT</pubDate>
    <dc:creator>Craige_Hales</dc:creator>
    <dc:date>2022-09-08T16:02:25Z</dc:date>
    <item>
      <title>Import xls files with Multiple File Import platform</title>
      <link>https://community.jmp.com/t5/Discussions/Import-xls-files-with-Multiple-File-Import-platform/m-p/542178#M76181</link>
      <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a set of xls files that I would like to import and concatenate.&lt;/P&gt;&lt;P&gt;I am able to open them one by one correctly, however if I try to use the Multiple File Import platform, I get an empty file.&lt;/P&gt;&lt;P&gt;If I transform them in xlsx (instead of xls) it works as expected.&lt;/P&gt;&lt;P&gt;Is there a specific setting to modify, so that it could fix the problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have found some posts related to issues with the Multiple File Import platform, when the files have quite unusual formats, but it is not my case here (1 worksheet, 1st row = headers...)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:54:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Import-xls-files-with-Multiple-File-Import-platform/m-p/542178#M76181</guid>
      <dc:creator>anne_sa</dc:creator>
      <dc:date>2023-06-10T23:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Import xls files with Multiple File Import platform</title>
      <link>https://community.jmp.com/t5/Discussions/Import-xls-files-with-Multiple-File-Import-platform/m-p/542214#M76183</link>
      <description>&lt;P&gt;It sounds like you might have CSV data, or maybe really old .xls format files, and you are either renaming them to .xlsx or opening them with excel and saving them as .xlsx. Sometimes the wrong extension is used and excel may be able to figure it out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the files have a .csv extension (and actually contain comma separated values) then you should be able to use the MFI options directly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When they open one-by-one correctly, what JMP tool did you use? Can you post the source script (right-click-&amp;gt;edit). That will tell a lot about what worked. If the data isn't sensitive, a sample file might help too.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 14:09:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Import-xls-files-with-Multiple-File-Import-platform/m-p/542214#M76183</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2022-09-08T14:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Import xls files with Multiple File Import platform</title>
      <link>https://community.jmp.com/t5/Discussions/Import-xls-files-with-Multiple-File-Import-platform/m-p/542252#M76184</link>
      <description>&lt;P&gt;Thanks for your answer &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/982"&gt;@Craige_Hales&lt;/a&gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;When I open it using the Excel Import Wizard of JMP it works as expected and here is the corresponding source script:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Open(
	"$DESKTOP/Test JMP Import/Test.xls",
	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( 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;However, it seems that indeed the format file is a bit weird, because I have an Excel warning when I try to open it directly from Excel...&amp;nbsp; And if I try to attach it to this message I have an error as well:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="anne_sa_1-1662649830354.png" style="width: 921px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/45295iA879EB5F446D9A54/image-dimensions/921x63?v=v2" width="921" height="63" role="button" title="anne_sa_1-1662649830354.png" alt="anne_sa_1-1662649830354.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The problem is that I am not the one who created the files at first so I don't know if it is possible to fix that afterwards without having to manually open / save each file :(&lt;/img&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 15:14:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Import-xls-files-with-Multiple-File-Import-platform/m-p/542252#M76184</guid>
      <dc:creator>anne_sa</dc:creator>
      <dc:date>2022-09-08T15:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Import xls files with Multiple File Import platform</title>
      <link>https://community.jmp.com/t5/Discussions/Import-xls-files-with-Multiple-File-Import-platform/m-p/542289#M76188</link>
      <description>&lt;P&gt;Don't give up yet! From a windows file explorer (not JMP) try right-click the file and open_with-&amp;gt;notepad or wordpad.&lt;/P&gt;
&lt;P&gt;I'm &lt;EM&gt;&lt;STRONG&gt;guessing&lt;/STRONG&gt;&lt;/EM&gt; you'll see CSV data in the .xls file and renaming it as .CSV will make it work.&lt;/P&gt;
&lt;P&gt;If you have more than a handful of these files to rename, JMP has a FilesInDirectory function to find them and a renameFile(?) function to rename them.&lt;/P&gt;
&lt;P&gt;You might also see binary data or some sort of XML data in notepad, paste the front of that data so we can guess again...&lt;BR /&gt;(I'm out for the rest of the day. Someone else may have a good idea.)&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 16:02:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Import-xls-files-with-Multiple-File-Import-platform/m-p/542289#M76188</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2022-09-08T16:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Import xls files with Multiple File Import platform</title>
      <link>https://community.jmp.com/t5/Discussions/Import-xls-files-with-Multiple-File-Import-platform/m-p/542761#M76207</link>
      <description>&lt;P&gt;The renameFile function seems very promising indeed. I tried with a subset of these files: if I rename them as csv I have all data concatenated in a single column. If I rename as xlsx then the MFI works like a charm but I am not able to open the file in Excel anymore( "invalid format or extension").&lt;/P&gt;&lt;P&gt;If I open a file with Notepad it looks like that (no matter if it is saved as csv, xls or xlsx):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="anne_sa_1-1662707126862.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/45335iB0CEC0FFFA515C70/image-size/medium?v=v2&amp;amp;px=400" role="button" title="anne_sa_1-1662707126862.png" alt="anne_sa_1-1662707126862.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Instead of renaming, copying using the CopyFile function may be a solution to keep a version of the file that can be open in Excel if needed, and use the xlsx version to import in JMP?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Otherwise I found this &lt;A href="https://community.jmp.com/t5/JMP-Scripts/Combine-multiple-excel-files/ta-p/312101" target="_blank" rel="noopener"&gt;post&lt;/A&gt; with a script to import and combine several Excel files. I tried with a subset of files and it seems ok. I will test with a larger number of files to see if it works as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 07:11:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Import-xls-files-with-Multiple-File-Import-platform/m-p/542761#M76207</guid>
      <dc:creator>anne_sa</dc:creator>
      <dc:date>2022-09-09T07:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Import xls files with Multiple File Import platform</title>
      <link>https://community.jmp.com/t5/Discussions/Import-xls-files-with-Multiple-File-Import-platform/m-p/542803#M76210</link>
      <description>&lt;P&gt;You found the answer: that is tab (or spaces) seperated CSV data you are looking at. Definetly not excel data file format.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 10:27:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Import-xls-files-with-Multiple-File-Import-platform/m-p/542803#M76210</guid>
      <dc:creator>pauldeen</dc:creator>
      <dc:date>2022-09-09T10:27:05Z</dc:date>
    </item>
  </channel>
</rss>

