View Single Post
 
Old 08-05-2019, 01:29 PM
d4okeefe d4okeefe is offline Windows 10 Office 2016
Advanced Beginner
 
Join Date: Apr 2013
Posts: 77
d4okeefe is on a distinguished road
Default

You may be missing a backslash between the directory name and the filename.
You could try this instead, but I'm not sure:
Set d = Documents.Open(path & "\" & file)

It could be something else though. Do you know how to use the Immediate Window. If you place this line of code...

Code:
Debug.Print path & "\" & file
...on the line before Documents.Open(), you will see the full path logged. Then you could double check the filename.

Btw, how many files are you trying to convert. If it's in the 100s, it could just be taking a long time to save them all.
Reply With Quote