M
ML
I have a macro that based on certain conditions changes the font to hidden
and changes the color.
Dim fHidden As New Font
'Setup hidden font for marker
fHidden.Hidden = True
fHidden.Bold = True
fHidden.Color = wdColorOrange
a.Insert(Where:=Selection.Range, RichText:=True).Font = fHidden
The issue is that after this is done the font seems to remain set to these
settings when another macro inserts text and doesn't specify a font setting.
a.Insert Where:=Selection.Range, RichText:=True
How can I easily get the font cleared back to the default settings?
and changes the color.
Dim fHidden As New Font
'Setup hidden font for marker
fHidden.Hidden = True
fHidden.Bold = True
fHidden.Color = wdColorOrange
a.Insert(Where:=Selection.Range, RichText:=True).Font = fHidden
The issue is that after this is done the font seems to remain set to these
settings when another macro inserts text and doesn't specify a font setting.
a.Insert Where:=Selection.Range, RichText:=True
How can I easily get the font cleared back to the default settings?