• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 452
  • Last Modified:

Doing a find in Word VBA

I want to find text with the font name "SimSun" but are unable to do so. I realised that the text styled with "SimSun" is as Asian Text Font instead of normal Font option.
Untitled.jpg
0
KenTan85
Asked:
KenTan85
  • 2
1 Solution
 
geneusCommented:
You need to use the NameFarEast Property.

Selection.Find.Font.NameFarEast = "SimSum"
0
 
KenTan85Author Commented:
I had tried this before, if I used NameFarEast property, all the other part of the word document if they are not asian text, their font will be minion but still their NameFarEast property is still SImSun.

That mean I will be also finding word that are font minion as well.....
0
 
KenTan85Author Commented:
It was not a total solution...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now