Word 2003 Text to Mailmerge macro

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Reoryn

Thread Starter
Joined
Jan 28, 2013
Messages
1
Was wondering if anyone could offer a bit of help on this one - it's been a while since I've worked on macros and I'm struggling to find anything close to this online.

I've got a whole bunch of documents that contain text strings, such as ~[name], ~[gender] etc. These letters are being migrated to a new system that uses MS Word mail merge and as such, I need to convert these from just text place holders into Mail Merge fields. Macroing turning the document into a MM is easy, but it's the replacement I'm having an issue with. They map across to different things so I appreciate I'd have to set what each one would map to, but I'm having trouble since Find and Replace won't insert mail merge fields.

So for instance, I might want to replace all instances of ~[gender] in document with a proper mailmege field of <<sex>>, and then repeat that for 30 or 40 other fields in the letters.

I appreciate this is a bit of an ask, but if anyone has a sec I'd really appreciate it :)

Cheers.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top