Showing results for 
Search instead for 
Did you mean: 

Error 7 occurred at Open/Create/Replace File

Go to solution

Hey all, running into this problem where my file isn't found. In my code I have the file name and path declared, and it works for my other spreadsheet outputs in the code. Why isn't this one working here?

Download All
0 Kudos
Message 1 of 3

Hi Parker,


You are probably trying to open a file that is not created yet.

Your code seems full of race conditions. You should avoid opening multiple references to the same file and writing to them at the same time.

Tip: try using an event structure instead of polling button controls in your loop.




Message 2 of 3
Accepted by topic author parker300

Change the Operation input for the Open/Create/Replace File to "replace or create".  By default, the function tries to just open it.  If it doesn't exist, it cannot open.  So you need to tell the function to create it.

There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 3 of 3