Printing Problems

Use a Word Macro to Print Each Letter's First Page on Letterhead

Khadija KhanKhadija Khan Nov 22, 2026 868 views

Question details

Print the first page of each repeated letter on letterhead and the remaining pages on standard paper.

Print Each Letter's First Page on Letterhead With a Word Macro
Product
Microsoft Word
Device & OS
not provided
Scenario
A Word document contains multiple letters that need different printer trays for their first and subsequent pages.
Observed behavior
Each letter should start on paper from the letterhead tray, with its remaining pages drawn from the standard tray.
Before you start

Make a copy of the document, then confirm that the selected printer and its driver offer separate letterhead and standard paper trays. In Word, select Home > ¶ and check that each letter boundary has one manual page break and that no other manual page breaks need to be preserved.

Solution 1Recommended

Convert Letter Boundaries to Sections With a Word Macro

Use this method when manual page breaks separate every letter and there are no other manual page breaks in the document.

Word can use a different tray for the first page of each section. The macro converts every manual page break into a next-page section break; it does not identify letters by counting a fixed number of pages.

1
Check the page breaks

On the Home tab, select ¶ to show formatting marks. Open Find, search for ^m, and use Find Next to verify that every match is a boundary between letters. Remove a trailing page break if it does not lead to another letter.

2
Set the paper trays

Open Layout > Page Setup using the dialog launcher, select the Paper tab, and choose the letterhead tray under First page and the standard tray under Other pages. Set Apply to to Whole document, then select OK.

3
Add the macro

Press Alt+F11 to open the VBA editor, select Insert > Module, and paste this code: Sub CreateLetterSections() Dim rg As Range Dim pos As Long Set rg = ActiveDocument.Content With rg.Find .ClearFormatting .Text = "^m" .Forward = True .Wrap = wdFindStop End With Do While rg.Find.Execute pos = rg.Start rg.Delete rg.InsertBreak Type:=wdSectionBreakNextPage rg.SetRange Start:=pos + 1, End:=ActiveDocument.Content.End Loop End Sub

4
Run and check the result

In Word, open View > Macros, select CreateLetterSections, and choose Run. With ¶ enabled, verify that each letter begins after a next-page section break, then check the Paper tab settings in representative sections.

5
Test the printer

Use File > Print to print a small test containing at least two letters. Confirm that each first page comes from the letterhead tray and subsequent pages come from the standard tray before printing the rest.

Convert Letter Boundaries to Sections With a Word Macro
Check existing sections: Section breaks can affect headers, footers, page numbering, and other page settings. Review these in the copied document after running the macro.
Free Microsoft Office alternative

Edit Letter Documents With WPS Writer

WPS Office is a free, lightweight alternative with a familiar interface for working on letter documents. Open compatible Word files in WPS Writer for an easier transition, though it does not fix or run the Word-specific VBA procedure described above.

Edit letter documents in a familiar, easy-to-use interfaceOpen and save Microsoft Word DOC and DOCX filesReview page layouts before printingMove existing documents into a lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Does the macro print a letterhead page every fixed number of pages?

No. It converts every manual page break into a section break. Each letter must already be separated by one manual page break for the first-page tray setting to apply at the correct boundaries.

How can I find manual page breaks in Word?

Select Home > ¶ to show formatting marks, then open Find and search for ^m. Use Find Next to check each match.

Why is the letterhead tray not listed in Page Setup?

Check the selected printer and its driver in File > Print. The Paper tab can only offer tray choices exposed by the installed printer driver.

Can section breaks change my headers or page numbers?

Yes. Section breaks can affect headers, footers, and page numbering. Review those elements after adding breaks and before printing the full document.