View Single Post
 
Old 06-03-2015, 09:51 PM
gmayor's Avatar
gmayor gmayor is offline Windows 7 64bit Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,106
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

Add the following code to the template
Code:
Option Explicit

Sub AutoNew()
    Dialogs(wdDialogMailMergeSetDocumentType).Show
    If ActiveDocument.MailMerge.MainDocumentType = wdNotAMergeDocument Then
        MsgBox "No a merge document!"
        GoTo lbl_Exit
    End If
    Dialogs(wdDialogMailMergeOpenDataSource).Show
    Dialogs(wdDialogMailMergeRecipients).Show
lbl_Exit:
    Exit Sub
End Sub
Then create a new document from it.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote