G
Guest
I can't get ths code to correctly execute. After I have clicked on a
Access Form, I want the code to open the word document, merge the data,
print the forms and then close the two windows that open of Word.
The Mail Merge takes place, and the sticking point is that I have to
manually close the two Word Windows.
Can someone please tell me what I'm not doing correctly. Below is the
code I am using...
Thanks,
Ray.
objWord.Activate
objWord.Close SaveChanges:=wdDoNotSaveChanges
objWord.Application.Quit
Set objWord = Nothing
Access Form, I want the code to open the word document, merge the data,
print the forms and then close the two windows that open of Word.
The Mail Merge takes place, and the sticking point is that I have to
manually close the two Word Windows.
Can someone please tell me what I'm not doing correctly. Below is the
code I am using...
Thanks,
Ray.
objWord.Activate
objWord.Close SaveChanges:=wdDoNotSaveChanges
objWord.Application.Quit
Set objWord = Nothing