Sabtu, 29 Oktober 2011

[MS_AccessPros] Opening MS Word from Access

 

Great Day, I have a form that produces a mail merge in MS Word, it works fine in Windows XP, but I am running Windows 7 now. I get this error when I execute the code:

This file could no be found.
("C\...\Greetings")

When I click "Debug" from the error message, this is the code that is highlighted:

.Documents.Open CurrentProject.Path & strMergeLetterName

The file is in My Documents, which is where I thought CurrentProject.Path would look.

If anyone can straighten me up on this, I would be greatly appreciated.

Thanks in advance,

David

__._,_.___
Recent Activity:
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

Tidak ada komentar:

Posting Komentar