Merge Field Formatting

L

Leonardo Soto

Hi:

I've been trying to find a solution to custom formatting...

Say I have a merge field called SIGNATURE

This information is stored from in a database and the users want the ability
to format their signature like in HTML... say:

<B>Leonardo Soto</B>
<I>Project Director</I>

How can I pour that information into the SIGNATURE with the Formatting info
included.

Its this possible?

Thanks in advance

Leonardo Soto
 
P

Peter Jamieson

You either have to merge to an output document and run some code to find all
the codes and apply the appropriate formatting, or do the same using VBA and
Word's MailMerge events. To do it purely using fields you need
a. to use the HTML formatting tags
b. to keep the data outside the database
c. to keep the link information in the database, e.g. have a field called
siglink containing "c:\\mysigs\\sig1.htm" etc
d. to use a nested field

{ INCLUDETEXT "{ MERGEFIELD siglink}" }

e. to accept that invalid tags may cause problems.

Peter Jamieson
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top