Liagua
04-05-2017, 03:33 AM
Hello,
What do I have to do to get a macro to run after a Word document has been merged?
The Merge is happening inside of the Word Application(local .dotm file), but merging data comes by another (external) application.
After the data is merged (local .dotm file has e new name.docx) I would like to have the cursor moved to a bookmark like so
If ActiveDocument.Bookmarks.Exists("BOOKMARK") = True Then
Selection.GoTo What:=wdGoToBookmark, Name:="BOOKMARK"
Else
End If
- running Word 2007
How can I get the Macro to run after a merge?
If you need any other info please let me know
Regards
Ronald
What do I have to do to get a macro to run after a Word document has been merged?
The Merge is happening inside of the Word Application(local .dotm file), but merging data comes by another (external) application.
After the data is merged (local .dotm file has e new name.docx) I would like to have the cursor moved to a bookmark like so
If ActiveDocument.Bookmarks.Exists("BOOKMARK") = True Then
Selection.GoTo What:=wdGoToBookmark, Name:="BOOKMARK"
Else
End If
- running Word 2007
How can I get the Macro to run after a merge?
If you need any other info please let me know
Regards
Ronald