Formating the two if-else-then into two different font/format

K

kath

Hi
I have a file that has different FILE Title showing based
on the different data entered in the datafields. I used
if-else-then, and the two different titles, unfortunately
needs to have different formats, if the condition is met,
the title of the file needs to be in bold and underlined
format; while if the condition is not met, the second
title will show, and it needs to be bold yet not
underlined. I could not get them to work differently by
highlighting and formating the contents. Is there a sure
way to make sure they don't just become the same in font
format?
it looks like this:

if {mergefield a}=" " "BOLD & UNDERLINED" "BOLD"
 
G

Graham Mayor

You should be able to format the result of the conditional field (between
the appropriate speech marks) and that should carry to the merged document.
I use this method regularly without problem.

However, your fields, as written, do not appear to do anything, so that
could be the problem.

{IF {Mergefield A} = "" "{Mergefield Title}" "{Mergefield Title}"
The first mergefield title should be formatted as bold/underline the second
as bold.

See www.gmayor.com\zips\Calc0005.gif
and www.gmayor.com\zips\Calc0004.gif


--
<>>< ><<> ><<> <>>< ><<> <>>< <>><
Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>><
 
K

Kath

Thank you Graham:
That's what I did and somehow it kept getting affected by
the font format of the other title that is not even
showing. So I took a closer look and found that, the
first part of the formula was a heading while the other is
normal text. Got it!
Thanks
 

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