<?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 Open Excel File in Excel (Windows standard application) by JSL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Open-Excel-File-in-Excel-Windows-standard-application-by-JSL/m-p/368898#M61879</link>
    <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;my JMP should host a toolbox with also Excel and other files,&lt;/P&gt;&lt;P&gt;so I need to open a file by another application from my Windows system (JMP Pro 15.1, Win10).&lt;/P&gt;&lt;P&gt;Most preferably I would use that standard application that is used by windows explorer, when opening a file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The example below opens the xls in JMP, I would like to open it in Excel, does anyone know how to accomplish that?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

cdt = Open( "$SAMPLE_DATA\Big Class.jmp" );
xls_path = Convert File Path( "$TEMP\Big Class.xls" );
cdt &amp;lt;&amp;lt; save as( "$TEMP\Big Class.xls" );

// open file in Excel application, not in JMP, how to ?
open(xls_path, /*Excel Wizard*/);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 09 Jun 2023 22:08:44 GMT</pubDate>
    <dc:creator>Georg</dc:creator>
    <dc:date>2023-06-09T22:08:44Z</dc:date>
    <item>
      <title>Open Excel File in Excel (Windows standard application) by JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Open-Excel-File-in-Excel-Windows-standard-application-by-JSL/m-p/368898#M61879</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;my JMP should host a toolbox with also Excel and other files,&lt;/P&gt;&lt;P&gt;so I need to open a file by another application from my Windows system (JMP Pro 15.1, Win10).&lt;/P&gt;&lt;P&gt;Most preferably I would use that standard application that is used by windows explorer, when opening a file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The example below opens the xls in JMP, I would like to open it in Excel, does anyone know how to accomplish that?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

cdt = Open( "$SAMPLE_DATA\Big Class.jmp" );
xls_path = Convert File Path( "$TEMP\Big Class.xls" );
cdt &amp;lt;&amp;lt; save as( "$TEMP\Big Class.xls" );

// open file in Excel application, not in JMP, how to ?
open(xls_path, /*Excel Wizard*/);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Jun 2023 22:08:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-Excel-File-in-Excel-Windows-standard-application-by-JSL/m-p/368898#M61879</guid>
      <dc:creator>Georg</dc:creator>
      <dc:date>2023-06-09T22:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Open Excel File in Excel (Windows standard application) by JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Open-Excel-File-in-Excel-Windows-standard-application-by-JSL/m-p/368916#M61880</link>
      <description>&lt;P&gt;Be aware to avoid spaces in the file name, otherwise the argument must include "path" in the string (so double")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

cdt = Open( "$SAMPLE_DATA\Big Class.jmp" );
xls_path = Convert File Path( "$TEMP\Big_Class.xls" );
cdt &amp;lt;&amp;lt; save as( "$TEMP\Big_Class.xls" );

RP = Run Program(
	Executable( "C:\Program Files (x86)\Microsoft Office\Office15\excel.exe"/*path to excel, you may search it in the registration entry of microsoft*/ ),
	Options( {"/r",SUBSTR(xls_path,2)} ),
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 09:39:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-Excel-File-in-Excel-Windows-standard-application-by-JSL/m-p/368916#M61880</guid>
      <dc:creator>Mauro_Gerber</dc:creator>
      <dc:date>2021-03-18T09:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Open Excel File in Excel (Windows standard application) by JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Open-Excel-File-in-Excel-Windows-standard-application-by-JSL/m-p/368921#M61881</link>
      <description>&lt;P&gt;Using the Web() function is a quick and easy way to open an external file in it's assigned application&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

cdt = Open( "$SAMPLE_DATA\Big Class.jmp" );
xls_path = Convert File Path( "$TEMP\Big Class.xls" );
cdt &amp;lt;&amp;lt; save as( "$TEMP\Big Class.xls" );

web("$TEMP\Big Class.xls");&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 18 Mar 2021 09:42:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-Excel-File-in-Excel-Windows-standard-application-by-JSL/m-p/368921#M61881</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-03-18T09:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Open Excel File in Excel (Windows standard application) by JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Open-Excel-File-in-Excel-Windows-standard-application-by-JSL/m-p/370034#M61982</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14111"&gt;@Mauro_Gerber&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687"&gt;@txnelson&lt;/a&gt;&amp;nbsp;for the proposals. In my case "run program" did work after some correction of the path string (fileshare starting with // on windows 10), the proposal with "web" did not work, I tried several times, it looks elegant.&lt;/P&gt;&lt;P&gt;I'm not sure, why, couldn't find anything in the log ..., simply no Excel started (Win10, Office16).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Mar 2021 18:44:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-Excel-File-in-Excel-Windows-standard-application-by-JSL/m-p/370034#M61982</guid>
      <dc:creator>Georg</dc:creator>
      <dc:date>2021-03-20T18:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Open Excel File in Excel (Windows standard application) by JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Open-Excel-File-in-Excel-Windows-standard-application-by-JSL/m-p/724718#M90783</link>
      <description>&lt;P&gt;Hello, i have similar, but not the same case. I already have the source file in xlsx format, and it includes multiple tabs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to have script that opens it as read only or its copy (copy is the best option) in excel.&lt;/P&gt;&lt;P&gt;My version of Win10 and in Win11 the is no option to this:&lt;/P&gt;&lt;P&gt;excel located at C:\Program Files\Microsoft Office\root\Office16\EXCEL.EXE&lt;/P&gt;&lt;P&gt;But excel alarm appeared with the meaning, that it can't find the file&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="file.png" style="width: 846px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61253i6E7C703483BC8B0C/image-size/large?v=v2&amp;amp;px=999" role="button" title="file.png" alt="file.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;Names Default To Here( 1 );
path="my_excel_file_absulute_path";
RP = Run Program(
	Executable( "C:\Program Files\Microsoft Office\root\Office16\EXCEL.EXE"),
	Options( {"/r",path} ),
);&lt;/PRE&gt;&lt;P&gt;&lt;CODE class=" language-jsl"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2024 19:19:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-Excel-File-in-Excel-Windows-standard-application-by-JSL/m-p/724718#M90783</guid>
      <dc:creator>SeriyGena</dc:creator>
      <dc:date>2024-02-19T19:19:16Z</dc:date>
    </item>
  </channel>
</rss>

