search for special character in different fonts

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

  1. Axel


    Oct 23, 2015
    Likes Received:

    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
    .MatchWholeWord = True
    .MatchCase = False
    .Execute FindText:="^0224"
    Selection.Font.Bold = True
    Selection.Font.Name = "Wingdings"
    End With
    Axel, Oct 23, 2015
    1. Advertisements

Ask a Question

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.