View Single Post
 
Old 01-18-2021, 05:03 PM
mbcohn mbcohn is offline Windows 10 Office 2016
Advanced Beginner
 
Join Date: Jan 2021
Posts: 32
mbcohn is on a distinguished road
Default

Running the code on a series of nested folders, many Word files were deleted, but eventually there was a Run-time error 53 on:


Code:
  Kill CStr(Split(StrFolds, vbCr)(i)) & "\" & strFile

I have looked at the folder where it stopped, and I don't see anything unusual about the files there. I ran the program again, this time aiming it only at the problem directory, and it worked fine. I wish I could tell you the names of the files or directories, but unfortunately that's not possible.
Reply With Quote