Verifying completion of a file's creation from VBA

I need a way to monitor a file in a folder (created by an external application, such as Word or Acrobat), and verify that the process of writing to the file has completed (in Windows 2000 or XP). I.e., that the file is finished, and can be opened by Excel. It's easy to verify that the file exists, and what it's file length is, but the file length continues to increase as the file is written to (especially for a large file). Anyone know of a way in VBA to verify that the file is complete I assume that Windows sets some kind of bit in the file to indicate completion. Thanks...

Answer this question

Verifying completion of a file's creation from VBA

  • MariamCR

    Moved to VBA forum

  • Verifying completion of a file's creation from VBA