Re: Highlight all occurrences of characters not featuring the Arial or Times New Roman Font
- From: "Tony Jollans" <My forename at my surname dot com>
- Date: Mon, 9 Feb 2009 07:17:17 -0000
This highlights everything and then removes it from Arial and Times New Roman:
ActiveDocument.Content.HighlightColorIndex = wdYellow
With ActiveDocument.Content.Find
.Replacement.Highlight = False
.Font.Name = "Arial"
.Execute Replace:=wdReplaceAll
.Font.Name = "Times New Roman"
.Execute Replace:=wdReplaceAll
End With
--
Enjoy,
Tony
www.WordArticles.com
"andreas" <andreas.hermle@xxxxxx> wrote in message news:6cdeccdc-a433-49ff-8e48-42acc352084d@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Dear Experts:
I would like to run a macro that performs the following tasks:
Highlight all occurrences of characters not featuring the Arial or
Times New Roman Font in the main document story. Is this possible?
Help is much appreciated. Thank you very much in advance. Regards,
Andreas
.
- Follow-Ups:
- References:
- Prev by Date: Re: Hilight all occurrences of Arial font formatting
- Next by Date: cutting content in word document
- Previous by thread: Re: Highlight all occurrences of characters not featuring the Arial or Times New Roman Font
- Next by thread: Re: Highlight all occurrences of characters not featuring the Arial or Times New Roman Font
- Index(es):
Relevant Pages
|