First, thanks for your answer.
As I said in my message, I tought it was something to do with that but, maybe i'm wrong, but using the "write to spreeadsheet" vi it means i'm using an ActiveX reference?
Anyway, in that example, i open the file, i see the graph and i think at the moment i see the graph, the file it's not being used! What do you mean by "close the Application" Do you mean, excel, for example?
I made a debug and, after i see the graph, the vi keeps asking for the value of the "open data file" button and it's false. The file should be "free" to be opened in excel.
Sorry for my English, it needs pratice...