Results 1 to 2 of 2
Thread: Mail merge field codes (1/1)
2001-07-12, 08:09 #1centuryGuest
Mail merge field codes (1/1)
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.
2001-07-12, 12:47 #2
- Join Date
- Jan 2001
- Sun Prairie, Wisconsin, Wisconsin, USA
- Thanked 125 Times in 120 Posts
Re: Mail merge field codes (1/1)
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