Solved

Doing a find in Word VBA

Posted on 2009-05-04
3
422 Views
Last Modified: 2013-11-10
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
Comment
Question by:KenTan85
  • 2
3 Comments
 
LVL 12

Accepted Solution

by:
geneus earned 500 total points
ID: 24293926
You need to use the NameFarEast Property.

Selection.Find.Font.NameFarEast = "SimSum"
0
 

Author Comment

by:KenTan85
ID: 24293964
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
 

Author Closing Comment

by:KenTan85
ID: 31577468
It was not a total solution...
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you work with Word a lot, you probably use styles. If you use styles a lot, you've probably balled your fist more often than not when working with the ribbon. In Word 2007/2010, one of the things that I find missing when using styles is a quic…
The Selection object is designed for user interaction. It has a Range property, so it can be used in most places that a Range object can. Recorded macros must use the Selection because they are simply copying what the user is doing. A Range prope…
This video shows and describes the main difference between both orientations in Microsoft Word. Viewers will understand when to use each orientation and how to get the most out of them.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question