Originally posted by big_k105
Is there no way to check if a file is open. if there is please tell me if not then jst say "no there isnt". and i will drop this question. and try something else. thanks
When you open the file in either place, open it as #1.

then you can always tell if it is currently open with:

VB Code:
  1. if FreeFile = 1 then
  2.       'File is not open currently
  3. Else
  4.       'File is already open
  5. end if

Of course this isnt the "normal" function of FreeFile, but you could take advantage of it in this way.