Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
how do I find all captilazed words in a Word document?
I have a contract document in Word 2007 format. I need to located all of the
capitalized terms to ensure they are listed in the Definitions section of the contract. Is there any easy way to locate all of the capitalized words in a Word document? |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
how do I find all captilazed words in a Word document?
Hi Greg,
You can use 'Find' with the Find text being: [A-Z]{1,} and the 'use wildcards' option. Running this repeatedly (eg by pressing the double-down-arrow at the lower-right corner of the Word screen after the first 'Find') will take you through all the capitalised words. -- Cheers macropod [Microsoft MVP - Word] "Greg" wrote in message ... I have a contract document in Word 2007 format. I need to located all of the capitalized terms to ensure they are listed in the Definitions section of the contract. Is there any easy way to locate all of the capitalized words in a Word document? |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
how do I find all captilazed words in a Word document?
If the whole Word is capitalised, then see the macro to extract acronyms to
a new document at http://www.gmayor.com/word_vba_examples.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Greg wrote: I have a contract document in Word 2007 format. I need to located all of the capitalized terms to ensure they are listed in the Definitions section of the contract. Is there any easy way to locate all of the capitalized words in a Word document? |
#4
|
|||
|
|||
Quote:
There are 2 ways to locate all capitalized terms in your document as follows: 1. Use "Advanced Find" Feature Enter "[A-Z]{1,}" (without quotation marks) in "Find what" text box. It shall find you all capitalized words. To be exact, it finds all words with at least one letter capitalized. And only capitalized letters are in selection not the entire word. 2. Run a Macro Press "Alt+ F11" to open VBA editor and create a new module. Then paste and run the following codes: Sub FindandHighlightCapitalizedWords() Dim objRange As Range With Selection .HomeKey Unit:=wdStory With Selection.Find .ClearFormatting .Text = "[A-Z]{1,}" .Replacement.Text = "" .Forward = True .Wrap = wdFindContinue .Format = False .MatchWildcards = True .Execute End With Do While .Find.Found Set objRange = Selection.Range objRange.HighlightColorIndex = wdBrightGreen .Collapse wdCollapseEnd .Find.Execute Loop End With End Sub The effect is the same as that in method 1. For more detailed information, you can refer to this article: https://www.datanumen.com/blogs/2-qu...word-document/ Hope that helps! Ernie Last edited by Ernie Starr : April 24th 17 at 05:05 AM |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to Find Highlighted Words in a Document? | Page Layout | |||
how do you find out how many words their are in the document!? | Microsoft Word Help | |||
How do I find out how many words are in my document? | Microsoft Word Help | |||
Fore Words : find all repetitions in your MS Word document ! | Microsoft Word Help | |||
Fore Words : find all repetitions in your MS Word document ! | New Users |