![]() |
|
|
|
#1
|
|||
|
|||
|
You asked something like this in my post above that you can use as a response with only minor adaptations. |
|
#2
|
|||
|
|||
|
Thatīs correct. However, I tried to tweak the code provided in the other post but did not work when I added the case change SMALL CAPS to lowercase:
With ActiveDocument.Range With .Find .Text = "*" .Font.ALLCAPS = True .Replacement.Font.ALLCAPS = False .Replacement.Text = "^&" .Forward = True .Wrap = wdFindStop .MatchWildcards = True .Format = True .Execute End With Do While .Find.Found .Case = wdUpperCase .Collapse wdCollapseEnd .Find.Execute Loop End With With ActiveDocument.Range With .Find .Text = "*" .Font.SmallCaps = True .Replacement.Font.SmallCaps = False .Replacement.Text = "^&" .Forward = True .Wrap = wdFindStop .MatchWildcards = True .Format = True .Execute End With Do While .Find.Found .Case = wdLowerCase .Collapse wdCollapseEnd .Find.Execute Loop End With End Sub |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Need a Macro to Change Every Instance of Small Caps to All Caps and Reduce the Font by 2 Points
|
CrossReach | Word VBA | 2 | 11-13-2017 09:21 AM |
| How to find CAPITALIZED names and change them into small caps | dylan.ve | Word VBA | 5 | 02-25-2016 03:15 PM |
Change lower case to caps whole document
|
lmb100 | Word | 4 | 08-07-2015 06:57 AM |
| Using conditional formatining to change to all caps | Shades | Excel | 3 | 05-05-2014 06:05 AM |
| find&replace word in uppercase with word in lowercase | andrei | Word | 3 | 10-03-2011 05:11 AM |