View Single Post
  #1   Report Post  
jassi_Hayre jassi_Hayre is offline
Junior Member
 
Posts: 1
Default Replace mergefields with form fields

Hi All,

I'm kind of new to Word mailmerge, macros and vba. I currently have a problem where we have nearly 200 word templates that use mail merge. The data source is an Oracle8 database which is going to be scrapped.

I'd like to replace the mergefields on these templates with either form fields or bookmarks programmaticaly.

Here's what i'd like to do in detail -

Search for a mergefield
Strip its name
Add a form field / bookmark where the mergefield is
Give this form field / bookmark the stripped out name.
Delete the mergefield

I'd like to use form fields instead of the merge fields because we are creating a vb application which should populate these fields instead of a data source.

Any help would be appreciated.
Thanks
Jas