'excel file already open' error

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
so I have some iLogic code that is meant to write to an excel file for producing a product catalog for my company. I have used the same block of code with the only change being which excel file it is writing to, for every part in the catalog so far with minmal issues but now I have just one file that gives me a message saying that the excel file is already open and asks if I want to reopen it. I went so far as to add some extra code at the beginning of my rule that closes any open excel files but I still get the popup. I have restarted Inventor, and the whole PC, and gone into task manager to make sure excel is not running in the background and it still gives me the error even the very first time I run the code after turning on the computer and launching Inventor without ever touching excel. help?