<?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: How to export the code result in excel file? in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-export-the-code-result-in-excel-file/m-p/13567403#M68602</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;What would be better writing it in the global table then exporting or directly exporting to the excel as you are saying?&lt;/P&gt;</description>
    <pubDate>Thu, 30 Nov 2017 12:46:28 GMT</pubDate>
    <dc:creator>aseem_s</dc:creator>
    <dc:date>2017-11-30T12:46:28Z</dc:date>
    <item>
      <title>How to export the code result in excel file?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-export-the-code-result-in-excel-file/m-p/13567401#M68600</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 7.5.4 ]&lt;/I&gt;&lt;/P&gt;&lt;PRE&gt;/**Custom Code*/
treenode item = parnode(1);
treenode current = ownerobject(c);
int port = parval(2);
string s = numtostring(getitemtype(item));
/*exittime1, entrytime1, die1 are global variables*/

if(stringcompare(s,die1))
{ 

	exittime1 = getentrytime(item);

}
	
else
{
	entrytime1 = getcreationtime(item);
	die1=s;
}&amp;lt;br&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Nov 2017 10:39:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-export-the-code-result-in-excel-file/m-p/13567401#M68600</guid>
      <dc:creator>aseem_s</dc:creator>
      <dc:date>2017-11-29T10:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the code result in excel file?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-export-the-code-result-in-excel-file/m-p/13567402#M68601</link>
      <description>&lt;P&gt;Hi, Assem.&lt;/P&gt;&lt;P&gt;Have you ever try to use excel commands like: excelopen(), excelsetsheet(), excelwritenum()? You can find more detail in user manual about excel.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 03:11:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-export-the-code-result-in-excel-file/m-p/13567402#M68601</guid>
      <dc:creator>jing_chen</dc:creator>
      <dc:date>2017-11-30T03:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the code result in excel file?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-export-the-code-result-in-excel-file/m-p/13567403#M68602</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;What would be better writing it in the global table then exporting or directly exporting to the excel as you are saying?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 12:46:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-export-the-code-result-in-excel-file/m-p/13567403#M68602</guid>
      <dc:creator>aseem_s</dc:creator>
      <dc:date>2017-11-30T12:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to export the code result in excel file?</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/how-to-export-the-code-result-in-excel-file/m-p/13567404#M68603</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.flexsim.com/users/5804/aseems.html" nodeid="5804"&gt;@Aseem S&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Have you tried using the Excel Export option for a Global Table?  If you select the global table, on the right of the screen in the Quick Properties window, you will notice a "Add Table to MTEE" button (see graphic).  You can press that button to create the "basics" of a Global Table Excel export.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="9768-global-table-export-1.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1496391i743DC1592D815DBD/image-size/large?v=v2&amp;amp;px=999" role="button" title="9768-global-table-export-1.png" alt="9768-global-table-export-1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then you would to to the Excel Interface, top row of icons, and go to the Export tab (see graphic).  Then just fill in any information that is needed and press the Apply button.  Then you can select the table(s) to be exported by checking the box next to the name of the Export and pressing the Export Tables button below the tables list.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="9769-global-table-export-2.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1496392iA79C5F66901ECF7B/image-size/large?v=v2&amp;amp;px=999" role="button" title="9769-global-table-export-2.png" alt="9769-global-table-export-2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is this what your were looking for?  Would this work for your situation?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 18:21:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/how-to-export-the-code-result-in-excel-file/m-p/13567404#M68603</guid>
      <dc:creator>jeff_nordgren</dc:creator>
      <dc:date>2017-11-30T18:21:24Z</dc:date>
    </item>
  </channel>
</rss>

