Changing font in a TOA field code

T

tr7

Hi,
I have a method in C# which is trying to change the font from unformatted to
either italics or underline in a TA field code.

I'm doing:

Application.Selection.Range.Font.Italic == 1;

and it keeps reverting back to -1 as the value for italic so the font
remains unformatted. Does anyone know how I can apply a format to selected
text in a TA field code and have it stick? Thanks very much.
 
Top