Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Mar 2009
    Location
    Hong Kong
    Posts
    359
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts
    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.

  3. #3
    3 Star Lounger
    Join Date
    Mar 2009
    Location
    Hong Kong
    Posts
    359
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi Hans,

    Thanks for your extremely perfect answer.

    Armstrong

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •