Consulting

Results 1 to 4 of 4

Thread: Solved: Font Find/Change

  1. #1
    VBAX Tutor Philcjr's Avatar
    Joined
    Jul 2005
    Location
    Bedminster, NJ
    Posts
    208
    Location

    Solved: Font Find/Change

    Is there an easy way to find words with a certain font and change them all to another font???

    I have 52+ pages to go through

    Thanks,
    Phil

  2. #2
    VBAX Wizard
    Joined
    May 2004
    Posts
    6,713
    Location
    In fact....yes there is.

    What have you tried?

  3. #3
    VBAX Wizard
    Joined
    May 2004
    Posts
    6,713
    Location
    Also, have you tried looking through this site? This exact question was asked not that long ago.

  4. #4
    VBAX Tutor Philcjr's Avatar
    Joined
    Jul 2005
    Location
    Bedminster, NJ
    Posts
    208
    Location
    Gerry,

    Thanks for your help, I should have searched better for the answer. For those who might be looking for what I did, here it is...

    [VBA]
    Sub FontChange()

    Dim Word As Object

    For Each Word In ActiveDocument.Words
    If Word.Font.Name <> "Times New Roman" Then
    Word.Font.Name = "Times New Roman"
    End If
    Next

    End Sub

    [/VBA]

    Phil

Posting Permissions

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