Formatting Issues

Repeat Vertical Lines on Every Page in Microsoft Word

Olivia MillerOlivia Miller Nov 14, 2026 868 views

Question details

The user wants vertical lines to appear automatically on every page of a Word document.

Product
Microsoft Word
Device & OS
not provided
Scenario
Create a document with repeating vertical lines for a border, form, or letter layout.
Observed behavior
The desired lines should repeat on each page and remain visible when printed or exported to PDF.
Before you start

Check whether the document has multiple sections or uses different first-page or odd-and-even headers. Decide where the lines should sit and leave enough space inside the printer's printable area.

Solution 1Recommended

Draw the vertical lines in the Word header

Use header-anchored line shapes to repeat the same lines on pages that share a header.

1
Open the header

Double-click the top of a page to edit its header, or select Insert > Header > Edit Header.

2
Draw the lines

While editing the header, select Insert > Shapes > Line. Draw a vertical line down the page, then draw a second line where needed.

3
Position and format

Select each line and use Shape Format to adjust its color, weight, and position. Keep the lines within the printer's printable area.

4
Check header variations

On the Header & Footer tab, check Different First Page and Different Odd & Even Pages. If these are enabled, add the lines to each header variation that needs them. For additional sections, use Link to Previous where appropriate or add the lines to that section's headers.

5
Preview the result

Select Close Header and Footer, then open File > Print to preview the pages. Export or save a PDF and check that the lines appear throughout and are not clipped.

Draw the vertical lines in the Word header
Header objects may look faded: Lines anchored to the header may appear gray when you are editing the document body. Check Print Preview or the exported PDF for their output appearance.
Repeat lines with WPS Writer

Add repeating vertical lines in WPS Writer

Use line shapes in a WPS Writer header to create repeating vertical lines, then preview the document before printing or exporting it.

  1. 1. Open the document: Open the DOC or DOCX file in WPS Writer and double-click the top of a page to edit the header.
  2. 2. Insert the lines: Select Insert > Shapes > Line and draw the vertical lines while the header is active.
  3. 3. Adjust the layout: Select each line to change its position and formatting. Check the header settings for different first pages, odd and even pages, and separate sections.
  4. 4. Check the output: Close the header and use File > Print Preview or export the document to PDF to check every page for missing or clipped lines.
Repeat header-anchored lines across pagesOpen and edit Microsoft Word DOC and DOCX filesAdjust line placement and formatting with familiar toolsPreview or export the document as a PDF
microsoft office alternative - wps office

Frequently Asked Questions

Why are the lines missing from the first page?

The document may use a separate first-page header. Open the header and check Different First Page on the Header & Footer tab. Add the lines to that header or turn the setting off if it is not needed.

Why do the lines stop appearing after a section break?

The next section may have a separate header. Open its header and select Link to Previous if it should share the preceding header, or add the lines to the new section's header.

Why do header lines look gray while I edit the document?

Word may display header objects as faded when the document body is active. Use File > Print or export to PDF to check how the lines will appear in the output.

How can I keep the lines from being clipped when printing?

Move the lines farther inside the page edges, then check File > Print. Printable margins vary by printer, so verify the result with the printer you plan to use.