I have code for mail merging a single record from Access into a template letter using properties, e.g. prps.Item(“Whatever”).Value = Whatever
After the properties have been set I highlight the whole letter and update it (all this code runs from within an Access module):
appWord.Selection.WholeStory
appWord.Selection.Fields.Update
What I then want to do is to remove the highlight and maximise Word to the front. I have been using this code but it still leaves Word minimised with the whole document selected:
appWord.Visible = True
appWord.Activate
My questions are:
1) What command would cancel the highlighting and move the cursor to the start of the letter?
2) How can I maximise Word from within Access?