Killing Word File - Error 70, but not RTF

R

Rich W.

I loop through a directory pulling up .doc files, converting them to docx,
"save as", then close the file.

At the end of the routine, with the lines:

Kill (strPath & "*.doc")
Kill (strPath & "*.rtf")

I go back to delete the files I get an Error.num = 70.

The funny thing is that when I convert .rtf files in the same routine and
Kill them, it works.

Any ideas why this happens, or, better yet, how can I get around it. Thanks
for any info.

(I've searched Newsgroups and have found a lot of gnashing of teeth, but no
solutions.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top