Office for Mac Issues

Replace All Caps Formatting with Lowercase and Underlining in Word for Mac

Anum MushtaqAnum Mushtaq Nov 14, 2026 868 views

Question details

Find text with All Caps font formatting in a Word document, change it to lowercase, and apply single underlining.

Replace All Caps Formatting with Lowercase and Underlining in Word for Mac
Product
Microsoft Word for Mac
Device & OS
macOS
Scenario
The user wants to update multiple occurrences throughout a document without editing each one manually.
Observed behavior
The desired result is lowercase, single-underlined text wherever the All Caps font property was applied.
Before you start

Select a sample of the affected text and check Format > Font to confirm that All Caps is enabled. This method targets the font property, not text that was typed in uppercase without that property.

Solution 1Recommended

Run a VBA macro to replace All Caps formatting

Use this method to update matching text in the document's main body in one pass.

Word's Find and Replace can find formatting, but it cannot directly convert replacement text to lowercase. The macro removes the All Caps font property, converts the underlying text to lowercase, and applies single underlining.

This macro searches the main document body; review headers, footers, and text boxes separately.

1
Open the VBA editor

In Word, open the document and choose Tools > Macro > Visual Basic Editor.

2
Insert the macro

In the editor, choose Insert > Module and paste the following code: Sub AllCapsToLowercaseUnderlined() On Error GoTo CleanUp Application.ScreenUpdating = False Selection.HomeKey Unit:=wdStory With Selection.Find .ClearFormatting .Text = "" .Font.AllCaps = True .Forward = True .Wrap = wdFindStop .Format = True Do While .Execute Selection.Font.AllCaps = False Selection.Font.Underline = wdUnderlineSingle Selection.Range.Case = wdLowerCase Selection.Collapse Direction:=wdCollapseEnd Loop End With CleanUp: Application.ScreenUpdating = True End Sub

3
Run the macro

Return to Word, choose Tools > Macro > Macros, select AllCapsToLowercaseUnderlined, and click Run.

4
Review the result

Check several changed passages in the document. If you want to retain the macro in the file, use File > Save As and select the Word Macro-Enabled Document (.docm) format.

Run a VBA macro to replace All Caps formatting
Typed capitals are different: Words typed in uppercase without the All Caps font property will not be found by this macro. Existing capitalization in matching text is also converted to lowercase.
Free Microsoft Office alternative

Edit Word Documents with WPS Writer

WPS Office is a free, lightweight alternative with a familiar editing interface. Open compatible Word documents in WPS Writer and make formatting changes as you move between office suites. It does not fix Word for Mac's VBA behavior.

Edit text and apply underlining in WPS WriterCompatible with Microsoft Word DOC and DOCX formatsFamiliar interface for everyday document editingFree, lightweight alternative for working with office files
QA img-9

Frequently Asked Questions

Will the macro find words that were typed entirely in uppercase?

Only if the All Caps font property is also applied. Select an affected word and check Format > Font for the All Caps setting.

Can Word's Find and Replace convert matching text to lowercase?

Find and Replace can search for font formatting, but it cannot directly convert replacement text to lowercase. Use the VBA macro for text with the All Caps property.

Does the macro also change headers and footers?

No. The macro searches the main document body. Review headers, footers, and text boxes separately.

How do I keep the macro in my document?

Choose File > Save As and select Word Macro-Enabled Document (.docm). A standard .docx file cannot retain VBA macros.