<?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: Run a Vba Macro after Open Document in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/run-a-vba-macro-after-save-document/m-p/6017704#M61346</link>
    <description>&lt;P&gt;The auto VBA macros are deprecated, you can use iLogic event trigger instead.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Feb 2016 16:41:47 GMT</pubDate>
    <dc:creator>bjweix</dc:creator>
    <dc:date>2016-02-01T16:41:47Z</dc:date>
    <item>
      <title>Run a Vba Macro after Save Document</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/run-a-vba-macro-after-save-document/m-p/6017646#M61345</link>
      <description>&lt;P&gt;Hello, fellows,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My issue this time is:&lt;/P&gt;&lt;P&gt;How can I run a VBA macro after Save my Opened Document?&lt;/P&gt;&lt;P&gt;I mean,&amp;nbsp;&lt;SPAN&gt;How can I run a VBA macro when I'm saving an&amp;nbsp;Opened Document?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2016 16:40:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/run-a-vba-macro-after-save-document/m-p/6017646#M61345</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-01T16:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Run a Vba Macro after Open Document</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/run-a-vba-macro-after-save-document/m-p/6017704#M61346</link>
      <description>&lt;P&gt;The auto VBA macros are deprecated, you can use iLogic event trigger instead.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2016 16:41:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/run-a-vba-macro-after-save-document/m-p/6017704#M61346</guid>
      <dc:creator>bjweix</dc:creator>
      <dc:date>2016-02-01T16:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Run a Vba Macro after Save Document</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/run-a-vba-macro-after-save-document/m-p/6018798#M61358</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As mentioned above use an event trigger to run an iLogic rule which then runs a macro.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;InventorVb&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;RunMacro&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;ApplicationProject&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;ModuleName&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;MacroName&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;The first item doesn't necessarily have to be the application project if the macro is within the part.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards Dan&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 03:28:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/run-a-vba-macro-after-save-document/m-p/6018798#M61358</guid>
      <dc:creator>dano0310</dc:creator>
      <dc:date>2016-02-02T03:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: Run a Vba Macro after Save Document</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/run-a-vba-macro-after-save-document/m-p/6019125#M61369</link>
      <description>&lt;P&gt;Ok! I got there.&lt;/P&gt;&lt;P&gt;I have many files, so I need a way to run the rule&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;InventorVb&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;RunMacro&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;ApplicationProject&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;ModuleName&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;MacroName&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;with the&amp;nbsp;&lt;SPAN&gt;event trigger "Run this rule - After Save Document" automatically, with no need to do the same task to each file. I say this also because of the other users of our net, that they don't need to remember the task.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would like to get the Event Trigger automatically too.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 09:59:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/run-a-vba-macro-after-save-document/m-p/6019125#M61369</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-02T09:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Run a Vba Macro after Save Document</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/run-a-vba-macro-after-save-document/m-p/6019304#M61374</link>
      <description>&lt;P&gt;Try search "Code Injector" in the forum, which can be used to set event triggers for lots of files in batch.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 11:47:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/run-a-vba-macro-after-save-document/m-p/6019304#M61374</guid>
      <dc:creator>smilinger</dc:creator>
      <dc:date>2016-02-02T11:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Run a Vba Macro after Save Document</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/run-a-vba-macro-after-save-document/m-p/6019739#M61381</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the long term it can be a real problem&amp;nbsp;keeping track of which document is running what code and modify any of them if necessary - e.g. to change the logic in it. The best would be to go with addin's as pointed out here:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://modthemachine.typepad.com/my_weblog/2008/09/vba-document-projects.html" target="_self"&gt;http://modthemachine.typepad.com/my_weblog/2008/09/vba-document-projects.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 14:57:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/run-a-vba-macro-after-save-document/m-p/6019739#M61381</guid>
      <dc:creator>adam.nagy</dc:creator>
      <dc:date>2016-02-02T14:57:57Z</dc:date>
    </item>
  </channel>
</rss>

