![]() |
|
|
|
#1
|
|||
|
|||
|
I want to turn CAPITALIZED words into proper SMALL CAPS. Is there a script or macro that can search a doc for words that have all capital letters and are not tagged "all caps"? |
|
#2
|
||||
|
||||
|
Hi Bobsomite,
You can use a wildcard Find/Replace, where: Find = <[A-Z][a-z]@> Replace = ^& and the Find font format has the 'All Caps' option unchecked and the Replace font format has the 'Small Caps' option checked.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
#3
|
|||
|
|||
|
That is the best damn thing I've learned all week. Eventually I got around to digging into the Microsoft Help, but what really helps is seeing your syntax. After a little tinkering with it, I was able to pare it down to words 3 letters or greater. Very cool, thanks again!
|
|
#4
|
||||
|
||||
|
Quote:
Find = <[A-Z][a-z]{2,}>
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
#5
|
|||
|
|||
|
Wow!
You just saved me a couple of hours. Thank you!!!! |
|
#6
|
|||
|
|||
|
Where can I learn more about the find wildcard feature? Specifically the coding like: <[A-Z][a-z]@>
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Find and highlight multiple words in MS Word document
|
AtaLoss | Word VBA | 37 | 09-22-2021 12:04 PM |
| Can you check the "find whole words only" box when using characters? | pimpong | Word | 6 | 02-06-2012 06:56 PM |
Is there a way to use "find/replace" to find italics words?
|
slayda | Word | 3 | 09-14-2011 02:16 PM |
Find & Replace words with "/" prefix & suffix
|
tollanarama | Word | 4 | 01-25-2011 02:19 AM |
| FInd recurring words in Word 2003 | NJ007 | Word | 4 | 01-25-2010 03:11 PM |