Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Doing a find in Word VBA

Posted on 2009-05-04
3
Medium Priority
?
446 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 1000 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

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…
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
In this video, we show how to convert an image-only PDF file into a PDF Searchable Image file, that is, a file with both the image (typically from scanning) and text, which is created in an automated fashion with Optical Character Recognition (OCR) …
In a previous video Micro Tutorial here at Experts Exchange (http://www.experts-exchange.com/videos/1358/How-to-get-a-free-trial-of-Office-365-with-the-Office-2016-desktop-applications.html), I explained how to get a free, one-month trial of Office …

971 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