General information
Category:
COM/DCOM and OLE Automation
Cetin,
We're not talking about the same thing. You are showing a way to insert text and manipulate it in Word as part of a hard coded automation sequence.
Good stuff for sure, but I was looking for a way to have a merge source string that would turn bold, or something else, on and off. Most of my merge letters run off a text data file built by my merge routine without any subsequent manipulation.
Something like:
"(some tag)Please(some other tag) update your info and send back. Current notes are as follows:"
that Word would interpret as:
"Please update your info and send back. Current notes are as follows:"
would be ideal, not that html like tags would be necessary, anything would do.
I'm pretty convinced at this point that Word doesn't support such a thing. Thanks for the Word code example though, everything I learn about this sort of thing makes like a little easier!
Gary
>>Thanks for the code example. I appreciate the effort.
>>
>>The example is good for a post merge process method and I almost certainly will have to do it that way. I built pre and post merge method calls into my framework and use them when I have unique things to do to documents such as conditionally adding tables of information for one recipient but not another in the same merge run.
>>
>>I was just hoping that someone knew how to embed control codes somehow in a string that Word could interpret at merge time.
>>
>>John and Cetin, thanks for your suggestions as well.
>>
>>Gary
>>
>
>">I was just hoping that someone knew how to embed control codes somehow in a string that Word could interpret at merge time."
>
>Did you read the sample I pointed too? It does it there.
>Cetin
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only