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.
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" wrote in message news:a0146d43-1ae2-4663-b7fd-abe78ef8a792@e39g2000hsf.googlegroups.com... > 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.
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?" "lbahja" wrote: > 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. >