• Document Type for Mail Merge

    Author
    Topic
    #458198

    Where is the document type (property) for Mail Merge physically stored? Is it embedded in the document? Can it be programmatically altered, say, from “Directory” to “Letters”?

    Armstrong

    Viewing 0 reply threads
    Author
    Replies
    • #1151421

      Yes, it is stored in the document, just like styles etc.

      Using VBA, you can change the merge type:

      ActiveDocument.MailMerge.MainDocumentType = wdMailingLabels

      As soon as you type the = in the Visual Basic Editor, a list of available values will pop up. You can also click in the word MainDocumentType and press F1 to get help.

      • #1151432

        Hi Hans,

        Thanks for your extremely perfect answer.

        Armstrong

    Viewing 0 reply threads
    Reply To: Document Type for Mail Merge

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: