Ilogic: Excel sheet not found happening only some of the time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I just recently switched to inventor 2019 and I have a program I've been using for some time that's now running into some issues. The difficulty is that it only runs into them some of the time, which is making no sense to me.
The program uses a series of look ups from excel sheets in order to generate models. However one excel sheet has started throwing errors when I'm initializing the file.
MultiValue.List("ChannelSize") = GoExcel.CellValues("N:\Mechpart\TLONG\Reference Materials\Information\BEAM INFORMATION.xlsx", "Beam Size List", "A1", "A290")
It will say that the sheet can't be found. However, I know for a fact it can be found. I've not only triple checked the reference, but if I close inventor and reopen it, it will suddenly work again without any changes to the program. I know it isn't an issue of the file being in use by another user because the program will continue to throw the error every time after the initial error until inventor is restarted, at which point it instantly runs fine, as if my inventor is continuing to hold onto the file after I run the program the first time. But its a basic iLogic function so it shouldn't be causing that issue right?
Has anyone else run into an error like this? Does anyone know why it is causing this issue?
Thank you,
Thomas Long