<?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: Excel Sheet not found Error. in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/excel-sheet-not-found-error/m-p/13662201#M175278</link>
    <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7812054"&gt;@WCrihfield&lt;/a&gt;, that seemed to have done the trick, I declared the file path as a String variable but never used it. It is odd because the code seemed to work just fine before I brought the file containing the code into Vault.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Jun 2025 18:17:33 GMT</pubDate>
    <dc:creator>hkeny</dc:creator>
    <dc:date>2025-06-02T18:17:33Z</dc:date>
    <item>
      <title>Excel Sheet not found Error.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/excel-sheet-not-found-error/m-p/10517029#M47372</link>
      <description>&lt;P&gt;Hello There&lt;/P&gt;&lt;P&gt;This is quite bizarre, the excel worksheet was working fine before I renamed it from "Sheet1" to "New Welds"&lt;/P&gt;&lt;P&gt;I have tried everything from removing spaces between the words placing a number 1 at the end eg "NewWelds1"&lt;/P&gt;&lt;P&gt;I started a whole new spreadsheet and left it as the default "Sheet1" still inventor refuses to co-operate.&lt;/P&gt;&lt;P&gt;Everything was just fine before I renamed the sheet.&lt;/P&gt;&lt;P&gt;I have attached a snippet of the error message in hopes of someone out there understanding exactly what&lt;/P&gt;&lt;P&gt;Inventor is saying to me.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="emildachiuye_0-1627999640986.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/948050i31DA2B7B2C75848B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="emildachiuye_0-1627999640986.png" alt="emildachiuye_0-1627999640986.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Emilda&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 14:09:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/excel-sheet-not-found-error/m-p/10517029#M47372</guid>
      <dc:creator>emilda.chiuye</dc:creator>
      <dc:date>2021-08-03T14:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Sheet not found Error.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/excel-sheet-not-found-error/m-p/10517086#M47373</link>
      <description>&lt;P&gt;How are you calling the excel sheet through ilogic or is it a linked excel sheet to retrieve parameters? Please post the ilogic code if used.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 14:28:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/excel-sheet-not-found-error/m-p/10517086#M47373</guid>
      <dc:creator>A.Acheson</dc:creator>
      <dc:date>2021-08-03T14:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Sheet not found Error.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/excel-sheet-not-found-error/m-p/10517109#M47374</link>
      <description>&lt;P&gt;Thanks for the response,&lt;/P&gt;&lt;P&gt;Oh yes, ofcourse, I have provided&amp;nbsp; snippets&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;xlsPath&lt;/SPAN&gt; = &lt;SPAN&gt;"D:\INVENTOR iLogic\Tubes.xlsx"&lt;/SPAN&gt;

&lt;SPAN&gt;WELD_AT_TUBE_C_Inlet&lt;/SPAN&gt; = &lt;SPAN&gt;GoExcel&lt;/SPAN&gt;.&lt;SPAN&gt;CellValue&lt;/SPAN&gt;(&lt;SPAN&gt;xlsPath&lt;/SPAN&gt;, &lt;SPAN&gt;"NewWelds1"&lt;/SPAN&gt;, &lt;SPAN&gt;"B17"&lt;/SPAN&gt;)
&lt;SPAN&gt;FCW1_TUBE_C_INLET&lt;/SPAN&gt; = &lt;SPAN&gt;GoExcel&lt;/SPAN&gt;.&lt;SPAN&gt;CellValue&lt;/SPAN&gt;(&lt;SPAN&gt;xlsPath&lt;/SPAN&gt;, &lt;SPAN&gt;"NewWelds1"&lt;/SPAN&gt;, &lt;SPAN&gt;"B18"&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="emildachiuye_0-1628001251967.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/948066i9A98F0D24A778F4D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="emildachiuye_0-1628001251967.png" alt="emildachiuye_0-1628001251967.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 14:35:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/excel-sheet-not-found-error/m-p/10517109#M47374</guid>
      <dc:creator>emilda.chiuye</dc:creator>
      <dc:date>2021-08-03T14:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Sheet not found Error.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/excel-sheet-not-found-error/m-p/10517124#M47375</link>
      <description>&lt;P&gt;Allow me to add that this is a third sheet in the workbook.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I was troubleshooting and started a new sheet I referenced the default "Sheet1" in hopes of Inventor recognizing a single sheet in the work book only, alas, that did not solve the issue.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 14:41:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/excel-sheet-not-found-error/m-p/10517124#M47375</guid>
      <dc:creator>emilda.chiuye</dc:creator>
      <dc:date>2021-08-03T14:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Sheet not found Error.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/excel-sheet-not-found-error/m-p/10517518#M47376</link>
      <description>&lt;P&gt;I was only able to reproduce the error if the excel sheet was missing or mislabeled. Perhaps also if the excel sheet isn't closed fully or has not been saved since the last edit it could throw this error too.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;xlsPath&lt;/SPAN&gt; = &lt;SPAN&gt;"C:\Desktop\New folder\Test.xlsx"&lt;/SPAN&gt;
&lt;SPAN&gt;GoExcel&lt;/SPAN&gt;.&lt;SPAN&gt;DisplayAlerts&lt;/SPAN&gt; = &lt;SPAN&gt;False&lt;/SPAN&gt;

&lt;SPAN&gt;WELD_AT_TUBE_C_Inlet&lt;/SPAN&gt; = &lt;SPAN&gt;GoExcel&lt;/SPAN&gt;.&lt;SPAN&gt;CellValue&lt;/SPAN&gt;(&lt;SPAN&gt;xlsPath&lt;/SPAN&gt;, &lt;SPAN&gt;"NewWelds1"&lt;/SPAN&gt;,&lt;SPAN&gt;"A2"&lt;/SPAN&gt;)
&lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;(&lt;SPAN&gt;WELD_AT_TUBE_C_Inlet&lt;/SPAN&gt;, &lt;SPAN&gt;"Title"&lt;/SPAN&gt;)

&lt;SPAN&gt;WELD_AT_TUBE_D_Inlet&lt;/SPAN&gt; = &lt;SPAN&gt;GoExcel&lt;/SPAN&gt;.&lt;SPAN&gt;CellValue&lt;/SPAN&gt;(&lt;SPAN&gt;xlsPath&lt;/SPAN&gt;, &lt;SPAN&gt;"NewWelds2"&lt;/SPAN&gt;,&lt;SPAN&gt;"A2"&lt;/SPAN&gt;)
&lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;(&lt;SPAN&gt;WELD_AT_TUBE_D_Inlet&lt;/SPAN&gt;, &lt;SPAN&gt;"Title"&lt;/SPAN&gt;)

&lt;SPAN&gt;GoExcel&lt;/SPAN&gt;.&lt;SPAN&gt;Close&lt;/SPAN&gt;
&lt;SPAN&gt;GoExcel&lt;/SPAN&gt;.&lt;SPAN&gt;DisplayAlerts&lt;/SPAN&gt; = &lt;SPAN&gt;True&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;What version of inventor are you using? Are you able to simply open and close a file and see it open in windows and close?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 17:06:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/excel-sheet-not-found-error/m-p/10517518#M47376</guid>
      <dc:creator>A.Acheson</dc:creator>
      <dc:date>2021-08-03T17:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Sheet not found Error.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/excel-sheet-not-found-error/m-p/10517617#M47377</link>
      <description>&lt;P&gt;Thanks a mil, indeed, the excel spreadsheet was missing. Why can't Inventor just say Error: "Xlsx missing" instead of&lt;/P&gt;&lt;P&gt;misleading me with a sheet not found message.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Blame Inventor for my shortcomings. hahha.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 17:48:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/excel-sheet-not-found-error/m-p/10517617#M47377</guid>
      <dc:creator>emilda.chiuye</dc:creator>
      <dc:date>2021-08-03T17:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Sheet not found Error.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/excel-sheet-not-found-error/m-p/10517693#M47378</link>
      <description>&lt;P&gt;Yes unfortunately I wouldn't rely on the error messages being too useful. In this case it is correct it cannot find the sheet but it did not say it couldn't find the workbook / file first. You can either use good old fashioned detective work by steeping through the code with message box or check windows to ensure the file is opening and exists etc&lt;/P&gt;&lt;P&gt;Or maybe build in this snippet if there is a chance the excel book is moving around.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;If&lt;/SPAN&gt;(&lt;SPAN&gt;System&lt;/SPAN&gt;.&lt;SPAN&gt;IO&lt;/SPAN&gt;.&lt;SPAN&gt;File&lt;/SPAN&gt;.&lt;SPAN&gt;Exists&lt;/SPAN&gt;(&lt;SPAN&gt;xlsPath&lt;/SPAN&gt;)) &lt;SPAN&gt;Then&lt;/SPAN&gt;
	&lt;SPAN&gt;'Enter excel processing here&lt;/SPAN&gt;
&lt;SPAN&gt;Else&lt;/SPAN&gt;
	&lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;(&lt;SPAN&gt;"Error Finding Path"&lt;/SPAN&gt;, &lt;SPAN&gt;"iLogic"&lt;/SPAN&gt;)
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 18:20:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/excel-sheet-not-found-error/m-p/10517693#M47378</guid>
      <dc:creator>A.Acheson</dc:creator>
      <dc:date>2021-08-03T18:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Sheet not found Error.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/excel-sheet-not-found-error/m-p/13662058#M175276</link>
      <description>&lt;P&gt;Hi all, I am getting the same error. Except my .xlsx file is not missing? I have it saved in my file path that i am calling out in the code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hkeny_0-1748882299730.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1539433i659C1B34653C7984/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hkeny_0-1748882299730.png" alt="hkeny_0-1748882299730.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hkeny_2-1748882355352.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1539435iB8E8C95B793A786A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hkeny_2-1748882355352.png" alt="hkeny_2-1748882355352.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any clue for a fix here?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 16:39:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/excel-sheet-not-found-error/m-p/13662058#M175276</guid>
      <dc:creator>hkeny</dc:creator>
      <dc:date>2025-06-02T16:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Sheet not found Error.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/excel-sheet-not-found-error/m-p/13662193#M175277</link>
      <description>&lt;P&gt;Just guessing here, but have you tried using that 'excelFilePath' variable within the 'GoExcel.CellValues()' call, instead of a separate String containing just the file name?&amp;nbsp; I know the error seems to be about the sheet name, and not the file name, but just trying to cover one of the steps in the 'process of elimination'.&amp;nbsp; Also, not sure if capitalization is important for the sheet name, but is 'BOM' capitalized differently in the Excel file, or is it possible that there is a 'space' in the tab name in the Excel (can be hard to see) maybe?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 18:15:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/excel-sheet-not-found-error/m-p/13662193#M175277</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2025-06-02T18:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Sheet not found Error.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/excel-sheet-not-found-error/m-p/13662201#M175278</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7812054"&gt;@WCrihfield&lt;/a&gt;, that seemed to have done the trick, I declared the file path as a String variable but never used it. It is odd because the code seemed to work just fine before I brought the file containing the code into Vault.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 18:17:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/excel-sheet-not-found-error/m-p/13662201#M175278</guid>
      <dc:creator>hkeny</dc:creator>
      <dc:date>2025-06-02T18:17:33Z</dc:date>
    </item>
  </channel>
</rss>

