Results 1 to 2 of 2
  1. #1
    century
    Guest

    Mail merge field codes (1/1)

    Hi

    I am in the process of putting together a main document for mail mergeing that wish to release to a user. The main document does have embedded field code expressions that could be confusing to the user. To help them maintain the document I would like a way for them to choose from a list predefined field code expressions that I have already put together. Does anybody have any examples of this? I know a bit of VBA but would need to be pointed in the right direction.

    Regards

    Andy

  2. #2
    Silver Lounger Charles Kenyon's Avatar
    Join Date
    Jan 2001
    Location
    Sun Prairie, Wisconsin, Wisconsin, USA
    Posts
    2,048
    Thanks
    124
    Thanked 119 Times in 116 Posts

    Re: Mail merge field codes (1/1)

    Hi Andy,

    The best way that I can think of to do this would be by putting your field codes into AutoText entries for use in an AutoText list field or a menu of AutoText entries.

    You may want to download the AutoText Sampler from <A target="_blank" HREF=http://www.addbalance.com/word/download/index.htm#AutotextSampler> my download page</A>. This shows examples of both kinds of menus. On the same download page are the Gender Toolbar and Checkbox templates which also use field codes contained in AutoText entries.

    See <A target="_blank" HREF=http://www.mvps.org/word/FAQs/TblsFldsFms/AutoTextList.htm>How to add pop-up lists to any Word document so you can click your way through changes in seconds.</A> (mvps.org/word/FAQs/TblsFldsFms/AutoTextList.htm).

    You may want to check the links at and <A target="_blank" HREF=http://www.addbalance.com/word/wordwebresources.htm#Fields> Web Resources - Fields as well.

    A key thing to remember in constructing AutoText lists is that you can save the AutoText entries in a style that appears nowhere in your final document. That style can still be used to filter your AutoText list so that only entries which were defined in that style appear in the list. When the entries are actually used in the document they will be inserted using the style of the containing paragraph, not the original style, unless they contain a paragraph mark.
    Charles Kyle Kenyon
    Madison, Wisconsin

Posting Permissions

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