Word tutorial

How to repeat text in Microsoft Word.

Word doesn't have a REPT function, but there are three solid ways to repeat text — pick whichever fits your use case.

Method 1: The copy-paste trick (small N)

For small numbers (5-20 repetitions), brute force works:

  1. Type your text once and select it
  2. Press Ctrl+C to copy
  3. Press Ctrl+V N times

Or use the "find and replace" trick: type the text 5 times, select all 5, copy, then keep pasting. Each paste doubles your text in chunks.

Method 2: Quick Parts AutoText

If you repeat the same phrase often (form letters, boilerplate):

  1. Type the text, then select it
  2. Insert → Quick Parts → AutoText → Save Selection to AutoText Gallery
  3. Give it a name, then type that name and press F3 to expand it

Useful for repetition with edits between (like personalized greetings).

Method 3: VBA macro (large N)

For larger counts, a macro is fastest. Press Alt+F11 to open the VBA editor, paste this, and run it:

Sub RepeatText()
    Dim s As String
    s = InputBox("Text to repeat:")
    Dim n As Integer
    n = InputBox("How many times:")
    Dim i As Integer
    For i = 1 To n
        Selection.TypeText Text:=s & vbCrLf
    Next i
End Sub

Save the macro, run it, enter the text and count, and Word will insert the repeated text at your cursor.

The fastest option for one-off repetition

If you just need a long repeated string once, use our browser-based repeater: type, set count, click Copy, paste into Word. Faster than opening the VBA editor.

Common questions

Frequently asked.

Not directly. Find & Replace replaces existing text, it doesn't multiply it. The macro method is the closest Word equivalent of Excel's REPT.

Yes — VBA macros work the same way on Mac. The keyboard shortcut to open the editor is Option+F11 on macOS.

Modify the macro: change Selection.TypeText Text:=s & vbCrLf to Selection.TypeText Text:=i & ". " & s & vbCrLf

Related reading

More articles.

Three ways in Microsoft Word

Word has no single "repeat" button, but there are quick routes. The simplest is copy once and paste repeatedly (Ctrl+V), doubling your selection each time to grow fast. Word also remembers the last action, so pressing Ctrl+Y or F4 repeats a paste.

Find & Replace and AutoText

To insert many copies at once, type a placeholder, then use Find & Replace to swap it for your repeated text. For text you reuse often, save it as an AutoText entry (Insert → Quick Parts) and drop it in whenever you need it. For a fixed number of copies, a one-line VBA macro with String() or a loop does it precisely.

Or generate and paste

When you just need N copies with clean separators or numbering, the repeater is quicker than any Word trick: set the count, choose a separator, copy, and paste into your document.