What is the correct VBS open.document object command? Seems to have changed.

When running the following Visual Basic file, which opens a Word document and runs a macro, I get an error 800A01A8 on Line 5 (see below), Object required: 'documents.Open(...)', even though this VBS file has worked for about 8 years now.  Since the file name was not changed or moved, guessing that VBS has been updated, but can't find what the correct object command is.  Any ideas?
Line 5 seems to be (see also below):   Set wdWb = wdApp.documents.Open("R:\fmExports\MastersandMacros\UPCSetupStarter")

Dim wdApp, wdWb

Set wdApp = CreateObject("Word.Application")
wdApp.Visible = True
Set wdWb = wdApp.documents.Open("R:\fmExports\MastersandMacros\UPCSetupStarter")

wdApp.Run "FormatUPCSales"

'if the macro takes arguments, use:
'wdApp.Run "FormatUPCSales", "Arg1", "Arg2", "Arg3"

'wdWb.Close True
Set wdWb = Nothing
Set wdApp = Nothing
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Is "UPCSetupStarter" the correct name for your document file? It has no extension.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rvfowler2Author Commented:
Ha, that did it.  Didn't even consider an extension as I haven't changed this in 8 years.  Have to find out who's been messing with my files.
The 'object required' error is a bit confusing.
rvfowler2Author Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Word

From novice to tech pro — start learning today.