I take no credit for this useful macro beyond
making it available here.
Fellow Word MVP Cindy Meister lists the code featured
on her web site,
http://homepage.swissonline.ch/cindymeister/mergfaq.htm) which may be used to reproduce field
constructions for use in (e.g) newsgroup messages.
If you have ever tried to document a
field construction to a text file, you will know that it is not possible
and where complex field constructions are involved (like those of regular Word newsgroup contributor
Macropod ( who prefers to remain anonymous), in his
remarkable work on date calculations) attempting to
reproduce them is a nightmare. This simple macro solution overcomes
that.
First step is to open the vba editor
and create a new module in the default document template (normal.dot). In
the following illustration, I have created the module in normal.dot and
renamed it from the default Module1 to FieldCodeToString. The name isn't
particularly important.