Open Word 2007 docx in Access 2007 - error

H

h2fcell

Hello,
I’m trying to open a Word 2007 document from Access 2007.
I have a command button on a form that has the following embedded macro, On
Click.

RunApp "C:\Program Files\Microsoft Office\Office12\Winword.exe"
"C:\Election\test.docx"

By the way, "C:\Election" is a Trusted Location

When I click the button, Word opens with an alert box message:

This file could not be found (C:\Election\test.docx)

Does anyone know why?
Thanks.
 
H

h2fcell

For those who have had this issue I cannot explain it but after shutting down
my PC and restarting, it now works.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top