I have a vb 6 program that is writing to an excel sheet on the network. The users have access to this file as well. Some time when the users leave at night they leave the file open and the program cannot write to it. and hangs in the scheduler. Is there a way of checking if the file is already open and who has it open .