View Single Post
 
Old 10-02-2015, 07:04 AM
rfaris rfaris is offline Windows 7 64bit Office 2010 64bit
Novice
 
Join Date: Oct 2015
Posts: 4
rfaris is on a distinguished road
Default

Macropod,
This works well, but it did not respond with all of the documents in the folder. I noticed that only the ".docx" files were checked. I changed the following line to:
StrFile = Dir(StrFolder & "\*.doc*", vbNormal). It was: StrFile = Dir(StrFolder & "\*.docx", vbNormal).
That worked to allow documents ending with ".docm" and ".doc", but there are still some that are missing and I cannot determine the reason.
Reply With Quote