<?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 embedded XL sheet with iLogic in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3701062#M133611</link>
    <description>&lt;P&gt;Hi TONELLAL,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I finally got it to work!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following code will open the first item embedded in the document (I'm assuming you only have one):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Imports Inventor.OLEDocumentTypeEnum&lt;/P&gt;&lt;P&gt;ExcelApp = CreateObject("Excel.Application")&lt;/P&gt;&lt;P&gt;Dim ExcelFile As ReferencedOLEFileDescriptor&lt;BR /&gt;ExcelFile = ThisDoc.Document.ReferencedOLEFileDescriptors.Item(1)&lt;/P&gt;&lt;P&gt;ExcelFile.Activate(kEditOpenOLEVerb, ExcelApp)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mitch&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if it helps... Kudos if it works!!!&lt;/P&gt;</description>
    <pubDate>Thu, 15 Nov 2012 20:35:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-11-15T20:35:05Z</dc:date>
    <item>
      <title>Open embedded XL sheet with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3692162#M133597</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Is it possible to open an embedded XL sheet with iLogic ?&lt;/P&gt;&lt;P&gt;I tried "&lt;SPAN style="color: #800080; font-weight: bold;"&gt;GoExcel&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-weight: bold;"&gt;Open&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;3rd Party:Embedding 2&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;ENTREE DES DONNEES&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;)&lt;/SPAN&gt;, but nothing happen...&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2012 15:12:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3692162#M133597</guid>
      <dc:creator>TONELLAL</dc:creator>
      <dc:date>2012-11-08T15:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Open embedded XL sheet with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3695680#M133598</link>
      <description>&lt;P&gt;Nobody open an XL file with iLogic ?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2012 10:45:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3695680#M133598</guid>
      <dc:creator>TONELLAL</dc:creator>
      <dc:date>2012-11-12T10:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Open embedded XL sheet with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3696428#M133599</link>
      <description>&lt;P&gt;Are you looking to open... open &amp;nbsp;the excel document, as have it displayed and come up on your screen?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With a quick look at the description of that code in the Snippets, it says:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Open an Excel file (for further use by GoExcel functions)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe this is programmically accessing or "Opening" the document in the background in order to perform some functions, and not literally opening it to view on the screen.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mitch&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2012 19:34:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3696428#M133599</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-12T19:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Open embedded XL sheet with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3698564#M133600</link>
      <description>&lt;P&gt;I think you are right...&lt;/P&gt;&lt;P&gt;In fact I want to open and display the sheet by the iLogic rule, instead of double-click on "3rd party". There should be a way to do that ?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2012 10:42:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3698564#M133600</guid>
      <dc:creator>TONELLAL</dc:creator>
      <dc:date>2012-11-14T10:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Open embedded XL sheet with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3698868#M133601</link>
      <description>&lt;P&gt;Hi TONELLAL,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like under the "Document" Snippets there is a Snippet by the name of "Launch Document"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's Description reads:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Launch or open another document in its native application"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Code is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ThisDoc.Launch("path\file.ext")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I beleive if you include the COMPLETE path and file name of the excel document, as well as the extension, this should do what you are looking for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mitch&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if it helps... Kudos if it works!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2012 14:28:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3698868#M133601</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-14T14:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Open embedded XL sheet with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3699108#M133602</link>
      <description>&lt;P&gt;This work, for example,&amp;nbsp;to open an Excel file in "c:\temp" :&lt;!-- StartFragment --&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #800080; font-weight: bold;"&gt;ThisDoc&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-weight: bold;"&gt;Launch&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;c:\temp\file.xls&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;!-- EndFragment --&gt;But not for an embedded file...&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2012 16:36:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3699108#M133602</guid>
      <dc:creator>TONELLAL</dc:creator>
      <dc:date>2012-11-14T16:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Open embedded XL sheet with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3699230#M133603</link>
      <description>&lt;P&gt;I haven't worked with embedded documents very much at all, but is the embedded file not just a link to the real document?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Excel document itself should exist somewhere and you can simply place that file's path and name in order to open it that way, which would do the same thing as what you're asking.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can give you code that will find this File and Path Name programmically and then proceed to open the document.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Simply put your excel file's display name into the "YOUR_FILE_NAME_HERE" spot, while keeping the proper extension:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim ExcelFile As String&lt;BR /&gt;ExcelFile = ThisDoc.Document.ReferencedOLEFileDescriptors.ItemByName("YOUR_FILE_NAME_HERE.xls").FullFileName&lt;/P&gt;&lt;P&gt;ThisDoc.Launch(ExcelFile)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mitch&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if it helps... Kudos if it works!!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2012 17:41:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3699230#M133603</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-14T17:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Open embedded XL sheet with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3699266#M133604</link>
      <description>&lt;P&gt;The problem is when the file is embedded, there is no "file.xls" existing. It is not a link to a file in a folder and a name on your computer, this is the difference between "linked" file and "embedded" file. Using your code, I can see FullFileName = "".&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2012 18:08:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3699266#M133604</guid>
      <dc:creator>TONELLAL</dc:creator>
      <dc:date>2012-11-14T18:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Open embedded XL sheet with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3699282#M133605</link>
      <description>&lt;P&gt;Embedded spreadsheets are as the name suggests "embedded" within the Inventor file. It does not reside in a folder and therefore does not have a path. I really question the wisdom of having this embedded if it needs to be opened by the user. In this case i would simply link the excel and then it can be opened using the code snippet you provided.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2012 18:29:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3699282#M133605</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-14T18:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Open embedded XL sheet with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3699318#M133606</link>
      <description>&lt;P&gt;TONELLAL,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The below code is what you'd be looking for, unfortunately I don't know how to apply this directly in an iLogic rule. This is because the "&lt;SPAN&gt;OLEDocumentObject" you see in the "Activate" functions needs to have an object from the application its accessing (ie. needs to be an Excel.Workbook). This cannot be done without adding a reference to Excel, which I don't know how to do in iLogic directly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim ExcelFile As String&lt;BR /&gt;ExcelFile = ThisDoc.Document.ReferencedOLEFileDescriptors.Item(1).Activate(kEditOpenOLEVerb, OLEDocumentObject)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd suggest the same thing as swordsmaster, make the file linked instead of embedded and life will be a lot easier.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the info swordsmaster, I have a better understanding of how it works. I've seen linked files and they were explained to me as being "embedded" in the file, but I guess they aren't Literally embedded like the file here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mitch&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if it helps.... Kudos if it works!!!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2012 18:54:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3699318#M133606</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-14T18:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Open embedded XL sheet with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3700042#M133607</link>
      <description>&lt;P&gt;Why "embedded file" instead of "linked" file ? Because it is easy to manage :&lt;/P&gt;&lt;P&gt;-you have only 1 file : the ipt. If you need to copy, move, rename,... the file, you don't have to know if there is another file to modify too. If you have a linked file, you cannot rename it or the ipt, if the folder is renamed the linked does not function any more, etc. With only 1 file it is much easier.&lt;/P&gt;&lt;P&gt;-each ipt file has its own parameters sheet. If you have a linked file you have to copy and rename the xls file for each ipt file. With an embedded file you don't have to manage this&lt;/P&gt;&lt;P&gt;-all needed information to use the ipt is in the ipt. No links managed by Windows.&lt;/P&gt;&lt;P&gt;-impossible to modify the xls file if you are not in the ipt file. The only person who can modify it is the Inventor user. If you have an external file, evrybody can modify it and so corrupt the ipt.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2012 09:06:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3700042#M133607</guid>
      <dc:creator>TONELLAL</dc:creator>
      <dc:date>2012-11-15T09:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Open embedded XL sheet with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3700356#M133608</link>
      <description>&lt;P&gt;Hi TONELLAL,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You do make some good points.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure what your end goal is, or why the need to open the file. Does the user need to enter some values into the excel file for parametric reasons?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If so, a work around method would be to use parameters. If there is still a need to have the excel sheet rather than using parameters alone, you can link the parameters to cells in the excel sheet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using parameters (either by themselves or connected to a cell in the spreadsheet) you would be able to display the values in a form and have the users edit the form instead, which woul in turn be editting the spreadsheet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mitch&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2012 14:22:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3700356#M133608</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-15T14:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Open embedded XL sheet with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3700416#M133609</link>
      <description>&lt;P&gt;Hi Mitch,&lt;/P&gt;&lt;P&gt;The workaround is :&lt;/P&gt;&lt;P&gt;-create a new file, based on a template containing geometry&lt;/P&gt;&lt;P&gt;-open the xl sheet to choose values. This sheet is very complicated, with links between Excel sheets, Excel search in tables, etc.&lt;/P&gt;&lt;P&gt;-depending of selected values, all neede parameters are sent on a sheet.&lt;/P&gt;&lt;P&gt;-this sheet is red by iLogic with GoExcel... to fill Inventor parameters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to open the sheet by iLogic ?&lt;/P&gt;&lt;P&gt;I made an iLogic form, which can launch several rules using buttons. One of this rules should be "Open the parameters sheet".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Alain&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2012 15:01:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3700416#M133609</guid>
      <dc:creator>TONELLAL</dc:creator>
      <dc:date>2012-11-15T15:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Open embedded XL sheet with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3700478#M133610</link>
      <description>&lt;P&gt;TONELLAL,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I explained a few posts back with some code, if you want to be able to open the excel sheet from within iLogic, you have to research how to "Add Reference" to excel through iLogic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you open the VBA Editor (Tools Tab &amp;gt; VBA Editor), click the "Tools" tab again in this screen, and then "References..." you'll access this ability to add references if you were programming directly in the VBA Editor. There should be a library called "Microsoft Excel...... Object Library."&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what you'd need to add in order to begin using the code I gave (although there is still a little more to the code), but must figure out how to do this and "Add Reference" in iLogic. As I'm not exactly sure how this works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a different root, I would suggest switching to programming directly in the VBA Editor, as it makes it much easier to add these references to other libraries. When I was programming my big iLogic program, I wanted to keep everything in iLogic instead of using the VBA Editor... it turned out to be a lot more work than it should have been I believe.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mitch&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2012 15:23:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3700478#M133610</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-15T15:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Open embedded XL sheet with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3701062#M133611</link>
      <description>&lt;P&gt;Hi TONELLAL,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I finally got it to work!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following code will open the first item embedded in the document (I'm assuming you only have one):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Imports Inventor.OLEDocumentTypeEnum&lt;/P&gt;&lt;P&gt;ExcelApp = CreateObject("Excel.Application")&lt;/P&gt;&lt;P&gt;Dim ExcelFile As ReferencedOLEFileDescriptor&lt;BR /&gt;ExcelFile = ThisDoc.Document.ReferencedOLEFileDescriptors.Item(1)&lt;/P&gt;&lt;P&gt;ExcelFile.Activate(kEditOpenOLEVerb, ExcelApp)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mitch&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if it helps... Kudos if it works!!!&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2012 20:35:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3701062#M133611</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-15T20:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Open embedded XL sheet with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3701854#M133612</link>
      <description>&lt;P&gt;Hi Mitch,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works perfectly ! You were right, you need to create the link with Excel, then create an object, then use it. I think the iLogic commands GoExcel... do this automatically.&lt;/P&gt;&lt;P&gt;As you said in your previous message, I think it is easy to make this in VBA instead of iLogic. Basically, iLogic = simple &lt;SPAN&gt;parameterization&lt;/SPAN&gt;, VBA = programmation. When you need to use "Dim ..." or "xxx.yyy.zzz... " in iLogic, it's time to switch to VBA !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Subsidiary question : where have you found the syntax ??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alain&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2012 14:10:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3701854#M133612</guid>
      <dc:creator>TONELLAL</dc:creator>
      <dc:date>2012-11-16T14:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Open embedded XL sheet with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3701868#M133613</link>
      <description>&lt;P&gt;Hi TONELLAL,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm glad to hear it worked for you. The object creation for excel I found as part of Curtis' code at the following link:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://inventortrenches.blogspot.ca/2012/06/create-new-excel-file-with-ilogic.html" target="_blank"&gt;http://inventortrenches.blogspot.ca/2012/06/create-new-excel-file-with-ilogic.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The rest of the code referencing the embedded file I did through the API. Once you learn how to navigate your way through the API everything becomes a lot easier.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mitch&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2012 14:19:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3701868#M133613</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-16T14:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Open embedded XL sheet with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3894365#M133614</link>
      <description>&lt;P&gt;Mitch,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've just found your code above after searching around for a way to open a linked excel sheet - it's exactly what I was after, cheers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a follow up, do you (or anyone else here) know if there's a way to monitor the status of the linked spreadsheet?&lt;/P&gt;&lt;P&gt;Ideally, I'd want to run an iLogic rule when the user saves the spreadsheet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've had a look into the API in what look to me to be the relevant areas, but haven't found anything to help - although with little experience in there I think there's a good chance I could be missing something.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andy.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2013 14:25:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/3894365#M133614</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-26T14:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Open embedded XL sheet with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/5201619#M133615</link>
      <description>&lt;P&gt;In 2014 this worked great. &amp;nbsp;In Inventor 2015, it merges the screen with excel and is unusable. &amp;nbsp;Has anyone seen a way to open an embedded spreadsheet with 2015?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Dan&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2014 18:27:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/5201619#M133615</guid>
      <dc:creator>djhunsucker</dc:creator>
      <dc:date>2014-08-07T18:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Open embedded XL sheet with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/5201651#M133616</link>
      <description>&lt;P&gt;Incase someone else stumble across this, found a way for 2015 to like it.&lt;/P&gt;&lt;P&gt;I changed the last line to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;ExcelFile&lt;/SPAN&gt;.&lt;SPAN&gt;Activate&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;OLEVerbEnum&lt;/SPAN&gt;.&lt;SPAN&gt;kEditOpenOLEVerb&lt;/SPAN&gt;, &lt;SPAN&gt;ExcelApp&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 Aug 2014 18:42:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/open-embedded-xl-sheet-with-ilogic/m-p/5201651#M133616</guid>
      <dc:creator>djhunsucker</dc:creator>
      <dc:date>2014-08-07T18:42:43Z</dc:date>
    </item>
  </channel>
</rss>

