
Bold & other font attributes
Hi- I have a Word template where i have inserted a
DOCVARIABLE called "remarks". This remarks field can be
rather lengthy. Can I make a word or two appear in BOLD or
ITALICS when it "merged" into the document? (I do not want
the entire remarks field to be bold or italics, just a
word or two, so I do not want to make DOCVARIABLE in the
Word template bold.)
For example, the remarks may be: "Please enclose a copy of
your birth certificate when mailing in the forms." Here I
would want "birth certificate" to be bold. OR "Be sure
to cross at the green, not in between." Here I would
want "green" in italics. This is to say that the entire
remarks change and I cannot say that the 5th word should
be bold or that the 11th word should be italics. This
changes with each remark.
It seems to me that I need a code of some kind to put in
the vb code behind the template form. It would be nice if
it were as easy as: "Be sure to cross at the
BOLDONgreenBOLDOFF and not in between." But life is never
so easy.
Thanks in advance for your help.
-Marty