apchambers
Programmer
Hi
I am using VBA from Access 2003 to automate the creation of mail merge documents. This is working fine but now I need to insert one document at the end of another. I cannot use Master/SubDocuments as that creates a blank page at the end (unless you can tell me otherwise) after the section break.
When you create a macro to do this using Word it creates the following code:
Selection.Endkey Unit:wdStory
when you go to the end of the file.
I can't find the syntax for this in VBA. Can anybody help?
I am using VBA from Access 2003 to automate the creation of mail merge documents. This is working fine but now I need to insert one document at the end of another. I cannot use Master/SubDocuments as that creates a blank page at the end (unless you can tell me otherwise) after the section break.
When you create a macro to do this using Word it creates the following code:
Selection.Endkey Unit:wdStory
when you go to the end of the file.
I can't find the syntax for this in VBA. Can anybody help?