Re: Highlight all occurrences of characters not featuring the Arial or Times New Roman Font

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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

.



Relevant Pages

  • Re: flu
    ... execute one out of ten of their _own_ people. ... The most famous use of decimation was after the Roman rout at the battle of Cannae. ... Being a Roman citizen was different from being a resident of the city of Rome. ... Most soldiers in the Imperial era were obviously not natives of the city of Rome, but a great many were citizens. ...
    (sci.electronics.design)
  • Re: Anyone has TMS320F280x CAN FLASH loader ?
    ... Roman wrote: ... > The ROM bootloader allows only loading chunk of code into RAM and ... > execute it and I am wondering if there is any second stage loader out ...
    (comp.arch.embedded)
  • Re: Anyone has TMS320F280x CAN FLASH loader ?
    ... > Roman wrote: ... >> The ROM bootloader allows only loading chunk of code into RAM and ... >> execute it and I am wondering if there is any second stage loader out ...
    (comp.arch.embedded)