Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word mail merge tags?
Message
 
To
15/02/2008 18:46:26
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, United States
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP1
Miscellaneous
Thread ID:
01293093
Message ID:
01293256
Views:
12
Have you tried to run a macro, then edit the code and paste into your program?


>What I'm talking about is bolding parts of a single merge field. A given letter might have a single merge field with text that I've generated at runtime that might look something like:
>
>Item1: Some Book Name Ship Date: 2/15/08
>Item2: Another book Back Ordered
>.
>.
>.
>Itemn: Last thing on order
>
>The entire string is contained in a *single* merge field, yet I'd like to be able to bold "Item1:" and "Ship Date:"
>
>It's hard to give enough examples here to really show the utility of what I'd like to do. The short story is that I build portions of documents on the fly and the ability to do something like:
>
>Item1: Some Book Name Ship Date: 2/15/08
>
>in the text string that fills the merge field and have Word make it bold would be useful. Probably not possible.
>
>Gary
>
>
>
>>>I made a Merge wizard for my users that allows them to merge their hundreds of different letters to either a Word doc or email based on a number of criteria. In some cases a single merge run might contain several hundred letters to different individuals.
>>>
>>>For email, I merge to a Word doc and then save that doc as HTML, open THAT doc and insert into a file as HTML, along with possible graphics, for later email to the many recipients.
>>>
>>>My users don't want to hand modify large documents if I can handle it technically.
>>>
>>>I could certainly come up with various ways to do this such as inserting my own tags in the text and then post processing the output or something. But if I could simply finesse Word itself with some codes, chars or something, that would be a good thing. It might not be possible in Word, but I'd thought I'd ask.
>>>
>>>Thanks,
>>>
>>>Gary
>>
>>They don't have to modify generated letters. They just have to modify MAIN document and BOLD only these fields they want.
>>If you use Mail merge you have One main document and one Data document (no matter what type it is DOC, XLS, CSN, TXT,DBF etc.)
>>WHen you generate letter you open Main document AND Data document and do Mail Merging. What I meant was let user modify Main document, not others. I doubt it have more that 2-3 pages (again I speak about template letter, not generated one).
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Previous
Reply
Map
View

Click here to load this message in the networking platform