Results 1 to 4 of 4
  1. #1
    Bronze Lounger
    Join Date
    Jun 2001
    Location
    New York, New York, Lebanon
    Posts
    1,449
    Thanks
    1
    Thanked 1 Time in 1 Post

    Finding Not(What I have) (Word 97 and >)

    <img src=/S/hello.gif border=0 alt=hello width=25 height=29> Loungers

    OK so you are going to say that I need a <img src=/S/newbrain.gif border=0 alt=newbrain width=21 height=22>, but I have this document, and its supposed to be font Courier New, 10pt.

    I need to find what is not Courier New 10pts. In essence I need to use something equivalent to:

    With Selection.Find.Font
    .Name <> "Courier New"
    .Size <> 10
    .Bold = False or maybe .Bold = wdUndefined is this delivers anything that is not regular font.
    .Italic = False or maybe .Italic = wdUndefined is this delivers anything that is not regular font.
    End With

    So how can I search for the exception, vs the rule. I sure can grab all the fonts and then loop through them all, but that is time consuming.

    Any ideas, or should I just simply check in the nearest insane asylum <img src=/S/crazy.gif border=0 alt=crazy width=15 height=15> ?

    Thanks as usual.

    Wassim
    <img src=/S/compute.gif border=0 alt=compute width=40 height=20> in the <img src=/S/bagged.gif border=0 alt=bagged width=22 height=22>

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Finding Not(What I have) (Word 97 and >)

    I don't think that there is an easy way to specify that you want to find everything but Courier New 10 pt.

    But if the document is supposed to be Courier New 10 pt. why not make sure by selecting all and setting the font to make sure that there are no exceptions? Much easier than finding the exceptions. <img src=/S/evilgrin.gif border=0 alt=evilgrin width=15 height=15>

    >> ... should I just simply check in the nearest insane asylum?

    According to your profile, you're already in NY, NY, aren't you?

  3. #3
    2 Star Lounger
    Join Date
    Feb 2001
    Location
    Wellington, New Zealand
    Posts
    143
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Finding Not(What I have) (Word 97 and >)

    Perhaps you could just delete or hide the Courier New, 10pt text and see what remains?

  4. #4
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Finding Not(What I have) (Word 97 and >)

    If there is some characteristic, such as font color, that is consistent throughout the document then you could do this in two stages.

    Make sure whole document is Font Color Black
    Find "Font Courier New", Size 10 pt. Replace with "Font Color Blue"
    Find "Font Color Black".

    StuartR

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •