I suspect you have to look at this character by character for it to work properly:
Dim c As Range
For Each c In ActiveDocument.Characters
If c.Font.AllCaps = -1 Then
c.Case = wdUpperCase
End If
Next c
__________________
Stefan Blom
Microsoft Word MVP
Microsoft 365 apps for business
Windows 11 Professional
|