Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / June 2005

Tip: Looking for answers? Try searching our database.

create a macro in a merge document field

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
wilddove - 13 Jun 2005 19:32 GMT
I am tring to create a macro or toggle a merge field to change a word to an
abbreviation.  Can you tell me how this is done?
Cindy M  -WordMVP- - 14 Jun 2005 09:32 GMT
Hi =?Utf-8?B?d2lsZGRvdmU=?=,

> I am tring to create a macro or toggle a merge field to change a word to an
> abbreviation.  Can you tell me how this is done?

Could you please describe in more detail what you have in mind, and in which
version of Word you're working?

FWIW, Word fields provide no means to perform string functions. If there are a
limited number of terms you need to test, an IF field could, perhaps, be a
solution.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)
wilddove - 14 Jun 2005 15:01 GMT
What I have is a document that I have merged fields in from our system.  I am
trying to create a macro or something to change one of the fields from
Medical Doctor to Dr..  I am working in Word 2000 but can't seem to find
anything on how to do this.

> Hi =?Utf-8?B?d2lsZGRvdmU=?=,
>
[quoted text clipped - 15 lines]
> This reply is posted in the Newsgroup; please post any follow question or
> reply in the newsgroup and not by e-mail :-)
Cindy M  -WordMVP- - 15 Jun 2005 11:14 GMT
Hi =?Utf-8?B?d2lsZGRvdmU=?=,

> What I have is a document that I have merged fields in from our system.  I am
> trying to create a macro or something to change one of the fields from
> Medical Doctor to Dr..  I am working in Word 2000 but can't seem to find
> anything on how to do this.

Your problem description is still unclear. Are we talking about merge result
documents that already exist? Or are we talking about changing what a mergefield
generates in a new result? (IOW, modifying existing main merge documents that
contain merge fields)

Assuming the latter: What's the name of the merge field that passes this
information? What other types of values could this field hold, besides "Medical
Doctor"? And what values should display, in these cases?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.