<?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: Open file in excel with whitespace in filename in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Open-file-in-excel-with-whitespace-in-filename/m-p/912020#M107152</link>
    <description>&lt;P&gt;Thanks for your help&lt;/P&gt;</description>
    <pubDate>Fri, 07 Nov 2025 10:29:14 GMT</pubDate>
    <dc:creator>anna_717</dc:creator>
    <dc:date>2025-11-07T10:29:14Z</dc:date>
    <item>
      <title>Open file in excel with whitespace in filename</title>
      <link>https://community.jmp.com/t5/Discussions/Open-file-in-excel-with-whitespace-in-filename/m-p/911999#M107149</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Is it possible to open an Excel file from JMP where there is whitespace in the filename or path?&lt;/P&gt;
&lt;P&gt;Code from this post works where there is no whitespace:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.jmp.com/t5/Discussions/Open-Excel-File-in-Excel-Windows-standard-application-by-JSL/m-p/368898#M61879" target="_blank"&gt;Solved: Open Excel File in Excel (Windows standard application) by JSL - JMP User Community&lt;/A&gt;&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;excel_file_to_open = Concat( "/X:/folder location/",excel_file_new_name);&lt;/DIV&gt;
&lt;DIV&gt;RP = Run Program(&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Executable( "C:\Program Files\Microsoft Office\root\Office16\excel.exe" ),&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Options( {"/r",SUBSTR(excel_file_to_open,2)} )&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; );&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;Unfortunately I can't use web() to open the file as this seems to be clashing with another application and causing an error.&lt;/P&gt;
&lt;P&gt;Any help appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Nov 2025 09:11:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-file-in-excel-with-whitespace-in-filename/m-p/911999#M107149</guid>
      <dc:creator>anna_717</dc:creator>
      <dc:date>2025-11-07T09:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Open file in excel with whitespace in filename</title>
      <link>https://community.jmp.com/t5/Discussions/Open-file-in-excel-with-whitespace-in-filename/m-p/912017#M107151</link>
      <description>&lt;P&gt;Something like this might work (convert file path + escaped quotes)&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

excel_file_to_open = Convert File Path("$DOWNLOADS\New folder (3)\sauna2.xlsx", "windows");

RP = Run Program(
	Executable("C:\Program Files\Microsoft Office\root\Office16\EXCEL.EXE"),
	Options( {"/r","\!""||excel_file_to_open|| "\!""} )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 07 Nov 2025 10:14:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-file-in-excel-with-whitespace-in-filename/m-p/912017#M107151</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-11-07T10:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Open file in excel with whitespace in filename</title>
      <link>https://community.jmp.com/t5/Discussions/Open-file-in-excel-with-whitespace-in-filename/m-p/912020#M107152</link>
      <description>&lt;P&gt;Thanks for your help&lt;/P&gt;</description>
      <pubDate>Fri, 07 Nov 2025 10:29:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-file-in-excel-with-whitespace-in-filename/m-p/912020#M107152</guid>
      <dc:creator>anna_717</dc:creator>
      <dc:date>2025-11-07T10:29:14Z</dc:date>
    </item>
  </channel>
</rss>

