Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Field in header

0 views
Skip to first unread message

lbahja

unread,
Apr 2, 2008, 6:39:46 AM4/2/08
to
Hi,

i m posting because i can't manage to modify a Field in the header of
my document.

My Field is called "L_ConfidentieliteDoc", and its value comme from a
ComboBox.

When my method UpdateField is called, the value of the field is
updated everywhere in document, included in header and footer.

The thing i want is simple, if the value of the field is "something" ,
i want to change the font of this field in red.

Does somebody can help me to do this?

thanks a lot
vince.

Anand.V.V.N

unread,
Apr 2, 2008, 7:31:01 AM4/2/08
to
Hello,
When you come accross that word or phrase, you can select it and use the
selection.font property to change to what ever colour you want.
Hope it works
Anand.V.V.N
--
"Who will guard the guards?"

Doug Robbins - Word MVP

unread,
Apr 2, 2008, 7:29:16 AM4/2/08
to
Use an If...then...Else field that tests for the value of the field and
format the value that is returned in that case as red.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"lbahja" <aissam....@gmail.com> wrote in message
news:a0146d43-1ae2-4663...@e39g2000hsf.googlegroups.com...

0 new messages