|
-
May 26th, 2000, 05:18 AM
#8
Hyperactive Member
I would say that you are trying to exit sub before file is closed. I mean that file is closed by OS asynchronicaly and then OS returns message about completing file operation, but there is no Sub running any more. And this is what triggered Error 5, I beleive.
You should try Empty loop with DoEvents for a second or so, or check if file is closed as a loop condition. only after this you can exit sub.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|