<?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 How to open an excel file from VBA in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-open-an-excel-file-from-vba/m-p/13203592#M3705</link>
    <description>&lt;P&gt;I have a macro that fills out an excel spreadsheet and saves it. Now I want it to open the spreadsheet for the user to see when the macro has finished. As opposed to the user going to file explorer to open it after running the macro. I tried several workbooks.open variations and none are working for me. Thank you&lt;/P&gt;</description>
    <pubDate>Tue, 10 Dec 2024 16:37:45 GMT</pubDate>
    <dc:creator>jake_egley</dc:creator>
    <dc:date>2024-12-10T16:37:45Z</dc:date>
    <item>
      <title>How to open an excel file from VBA</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-open-an-excel-file-from-vba/m-p/13203592#M3705</link>
      <description>&lt;P&gt;I have a macro that fills out an excel spreadsheet and saves it. Now I want it to open the spreadsheet for the user to see when the macro has finished. As opposed to the user going to file explorer to open it after running the macro. I tried several workbooks.open variations and none are working for me. Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 16:37:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-open-an-excel-file-from-vba/m-p/13203592#M3705</guid>
      <dc:creator>jake_egley</dc:creator>
      <dc:date>2024-12-10T16:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to open an excel file from VBA</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-open-an-excel-file-from-vba/m-p/13207101#M3706</link>
      <description>&lt;P&gt;if you are using excel to fill date then for sure you open it propably invisible ? something like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Dim XL As Object
Dim xlWS As Object
Set XL = CreateObject("Excel.Application")
XL.Visible = False&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then after saving it you can use :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;XL.Visible = True&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if not then you can use :&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Dim XL As Object
Dim xlWS As Object
Set XL = CreateObject("Excel.Application")
XL.Workbooks.Open (bomname)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 09:30:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-open-an-excel-file-from-vba/m-p/13207101#M3706</guid>
      <dc:creator>marcin_otręba</dc:creator>
      <dc:date>2024-12-12T09:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to open an excel file from VBA</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-open-an-excel-file-from-vba/m-p/13208562#M3707</link>
      <description>&lt;P&gt;Works Great. Thank you. Do you know how to open a file explorer window and make it visible? So when the ilogic is done there is a file explorer window open at the location where my excel file is saved.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 21:07:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-open-an-excel-file-from-vba/m-p/13208562#M3707</guid>
      <dc:creator>jake_egley</dc:creator>
      <dc:date>2024-12-12T21:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to open an excel file from VBA</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-open-an-excel-file-from-vba/m-p/13208930#M3708</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/16575173"&gt;@jake_egley&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this from this help page on stackoverflow here&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;Dim&lt;/SPAN&gt; Foldername &lt;SPAN class=""&gt;As&lt;/SPAN&gt; &lt;SPAN class=""&gt;String&lt;/SPAN&gt;
Foldername = &lt;SPAN class=""&gt;"\\server\Instructions\"&lt;/SPAN&gt;

Shell &lt;SPAN class=""&gt;"C:\WINDOWS\explorer.exe """&lt;/SPAN&gt; &amp;amp; Foldername &amp;amp; &lt;SPAN class=""&gt;""&lt;/SPAN&gt;, vbNormalFocus&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 01:57:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-open-an-excel-file-from-vba/m-p/13208930#M3708</guid>
      <dc:creator>A.Acheson</dc:creator>
      <dc:date>2024-12-13T01:57:26Z</dc:date>
    </item>
  </channel>
</rss>

