Document Editing Problems

Apply a Drop Cap to Every Chapter in Microsoft Word

Natalie TaylorNatalie Taylor Nov 14, 2026 868 views

Question details

Add a drop cap to the first letter of the first non-empty paragraph in each chapter or section.

Product
Microsoft Word
Device & OS
not provided
Scenario
A document has multiple chapters that need consistent drop-cap formatting.
Observed behavior
Each chapter or section should begin with a drop cap without formatting every one individually.
Before you start

Check whether each chapter starts a new Word section by selecting Home > Show/Hide ¶ and looking for section breaks. The macro formats the first non-empty paragraph in every section, including headings, so check that those are the paragraphs you want to change.

Solution 1Recommended

Run a Word VBA macro for each section

Use this method when each chapter starts a separate section and its first non-empty paragraph should receive a drop cap.

The macro processes sections, not chapter headings. It skips paragraphs containing only spaces, tabs, or paragraph and section marks, and applies a three-line drop cap to the first non-empty paragraph.

Use this method in desktop Word with macros enabled. It is intended for sections whose first non-empty paragraphs are ordinary text outside tables.

1
Open the VBA editor

Open the document in desktop Word. Select Developer > Visual Basic, or press Alt+F11 on Windows.

2
Insert the macro

In the VBA editor, select Insert > Module and paste this code: Sub DropCapsInSections() Dim sec As Section Dim para As Paragraph Dim txt As String For Each sec In ActiveDocument.Sections For Each para In sec.Range.Paragraphs txt = para.Range.Text txt = Replace(txt, Chr(13), "") txt = Replace(txt, Chr(12), "") txt = Replace(txt, Chr(7), "") txt = Replace(txt, vbTab, "") txt = Replace(txt, Chr(160), " ") If Len(Trim$(txt)) > 0 Then With para.DropCap .Position = wdDropNormal .LinesToDrop = 3 .DistanceFromText = CentimetersToPoints(0) End With Exit For End If Next para Next sec End Sub

3
Run and review

Return to Word, select Developer > Macros, choose DropCapsInSections, and select Run. Review the first formatted paragraph in each section.

Check section boundaries: Extra sections will also be processed, while chapters without their own section break will not be processed separately. The macro does not skip chapter titles.
Free Microsoft Office alternative

Format chapter drop caps in WPS Writer

WPS Office is a free, lightweight alternative with a familiar interface and support for Word documents, making it easy to continue editing existing files. You can format chapter drop caps in WPS Writer, though it does not fix Word's macro behavior.

Apply drop-cap formatting to chapter-opening paragraphs in WPS WriterOpen and edit Microsoft Word DOC and DOCX filesWork in a familiar interface when moving from Microsoft OfficeUse a free, lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Will the macro recognize chapter headings automatically?

No. It loops through Word sections and formats the first non-empty paragraph in each one. If a section begins with a chapter heading, the heading is the paragraph it will try to format.

How can I tell whether chapters start in separate sections?

Select Home > Show/Hide ¶ and look for section-break markers before the chapters. A page break alone does not create a new section.

Can I change the size of the drop cap in the macro?

Yes. In the VBA editor, change the number in .LinesToDrop = 3 before running the macro. You can also change .DistanceFromText to adjust the spacing.

Do I need a macro for just a few chapters?

No. Click each chapter's opening paragraph and use Insert > Drop Cap > Dropped. Set the appearance under Drop Cap Options.