Access 2013 Word 15 reference not degrading to Word 14 on Access 2010 and Requires Elevation

时间:2015-07-28 16:37:47

标签: database access-vba ms-access-2010 ms-access-2013

I have an Access application developed in 2013. When I select the Word 15 object library to open Word documents in my development environment it works fine.

When I put the file on the client's machine, which is running Access and Word 2010, it throws an error saying that it cannot find the Word 15 reference.

If I go in and uncheck the Word 15 reference and check the Word 14 reference, it will start without errors, but when I try to generate a letter in Word 2010 from Access 2010, it throws an error:

"cmdDraftLetter_Click: -2147024156 Automation error The requested operation requires elevation"

The error only happened on one account on this machine. The Administrator account and two other user accounts did not invoke the error.

I checked the user account level and found it was an Administrator. I checked to make sure that they were actually in the Administrators group. None of this solved my issue.

1 个答案:

答案 0 :(得分:0)

戈尔斯answer关于约束解决了我的一半问题。升级问题,我通过转到Office文件夹并检查winword.exe和msaccess.exe的属性来解决。

winword被勾选为"以管理员身份运行"。

msaccess不是。

勾选"以管理员身份运行" for msaccess解决了Elevation问题。