I've used the Dir() function with VBA several times for different file formats, but for some reason it's not working on .pdf files. Am I missing something?