search for special character in different fonts

Discussion in 'Word VBA Beginners' started by Axel, Oct 23, 2015.

  1. Axel

    Axel

    Joined:
    Oct 23, 2015
    Messages:
    1
    Likes Received:
    0
    Hi,

    I have some hugh document where some text is highlighted with --> which gives an arrow in word. The character is ^0224 in the font Wingdings. Now, the document was formated with different fonts.

    I try to Change the character 0224 back to wingdings and make it bold. Some of those arrows are still there and have to be bold too.

    Can I search for those characters in one search or do I have to do this in several passes - one for each font?

    This is my Version at the Moment:

    With Selection.Find
    .ClearFormatting
    .MatchWholeWord = True
    .MatchCase = False
    .Execute FindText:="^0224"
    Selection.Font.Bold = True
    Selection.Font.Name = "Wingdings"
    End With
     
    Axel, Oct 23, 2015
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. Marc Hankin
    Replies:
    2
    Views:
    267
    Klaus Linke
    Aug 23, 2004
  2. Chris

    Paste Special

    Chris, Feb 16, 2005, in forum: Word VBA Beginners
    Replies:
    3
    Views:
    125
    Jean-Guy Marcil
    Feb 17, 2005
  3. Chris

    Paste Special

    Chris, Feb 17, 2005, in forum: Word VBA Beginners
    Replies:
    0
    Views:
    113
    Chris
    Feb 17, 2005
  4. Charlie

    Help with "Paste Special" in a macro

    Charlie, Mar 1, 2005, in forum: Word VBA Beginners
    Replies:
    1
    Views:
    180
    Charlie
    Mar 1, 2005
  5. Tonya Marshall

    Paste Special Unformatted Text

    Tonya Marshall, Mar 6, 2005, in forum: Word VBA Beginners
    Replies:
    2
    Views:
    103
    Tonya Marshall
    Mar 7, 2005
  6. Abeness
    Replies:
    2
    Views:
    174
    Abeness
    Mar 23, 2005
  7. Jezebel
    Replies:
    1
    Views:
    307
    Roy Barr
    Sep 19, 2005
  8. robert.hatcher@l-3com.com

    font color line based on character search

    robert.hatcher@l-3com.com, Jan 10, 2007, in forum: Word VBA Beginners
    Replies:
    2
    Views:
    105
    robert.hatcher@l-3com.com
    Jan 10, 2007
Loading...