A family of Microsoft word processing software products for creating web, email, and print documents.
> What am I doing wrong?
You missed this in my post:
>> change the path (be sure to keep the backslash at the end)
So you need to change this line:
strFilePath = "C:\LOCKIT"
to this:
strFilePath = "C:\LOCKIT"
The reason nothing was happening is that the Dir$() command takes that string and adds "*.doc*" to the end of it; without the backslash you're getting "C:\LOCKIT*.doc*" as the file to look for, and there is no such file (which would have to be in the root folder, C:).