How to Repeat an Action in Word with F4 or Ctrl+Y

To repeat your last action in Word for Windows, press F4 or Ctrl+Y. On a Mac, press Command+Y. Word applies the same edit again at the cursor or to whatever you’ve selected, which saves time when you’re formatting headings, inserting rows, or pasting the same text in several places. One condition matters: if you just used Undo, the same keys redo that change instead of repeating anything.

Repeat an action with F4 or Ctrl+Y

  1. Do the action once. For example, select a heading and apply bold, or choose a new font size.
  2. Select the next text you want to change, or click where you want the action to happen.
  3. Press F4 or Ctrl+Y (on a Mac, Command+Y). Word does the same thing again.
  4. Keep selecting and pressing the key for each place that needs the same change.

The chain only lasts while that action is still the most recent one. As soon as you do something different, such as typing a word or changing a different setting, F4 repeats that new action instead.

Repeat several formatting changes at once

Repeat only remembers one action. If you make a heading bold, then red, then 14 pt with three separate ribbon clicks, F4 repeats only the last change, the font size.

To repeat a whole bundle of formatting, apply it through a dialog box so Word treats it as a single step:

  1. Select the first piece of text.
  2. Press Ctrl+D (or select the small arrow in the corner of the Font group on the Home tab) to open the Font dialog box.
  3. Choose every setting you want, such as font, size, color, and style, and select OK.
  4. Select the next piece of text and press F4. All of those settings apply together.

The same trick works with the Paragraph dialog box for spacing and indents. If you need to match formatting you’ve already applied elsewhere, copying formatting with Format Painter is another good option.

Advertisements

What you can and can’t repeat

Most editing and formatting actions repeat well. Common examples include:

  • Applying bold, italics, a font, a size, a color, or a highlight.
  • Applying a style, such as Heading 2.
  • Inserting a table, a table row, or a page break.
  • Pasting the same clipboard contents again.
  • Typing a word or phrase you just typed.
  • Deleting table rows or columns.

Some commands can’t be repeated. When that’s the case, the Repeat button reads Can’t Repeat and pressing F4 does nothing. Moving the cursor, selecting text, and scrolling aren’t actions Word records, so they won’t break the chain or get repeated.

For longer sequences of commands that F4 can’t repeat, you can record a macro in Word and run it whenever you need it.

Repeat vs. Redo

Ctrl+Y does two jobs, and the one you get depends on what you did last.

  • Redo: If you just pressed Undo, Ctrl+Y brings back the change you undid. Our guide on how to redo in Word covers that side in detail.
  • Repeat: If there’s nothing left to redo, Ctrl+Y repeats your last action instead.

The button follows the same rule. In Word for Windows, the Redo arrow near Undo turns into a Repeat button (a circular arrow) when there’s nothing to redo. If you need to back out of something you repeated too many times, undo it with Ctrl+Z, one press per repeat.

If F4 doesn’t repeat anything

  • Your laptop uses F4 for something else. On many laptops, the top row controls volume, brightness, or media by default. Press Fn+F4, or turn on the F-Lock or Fn lock key, as Microsoft notes in its undo, redo, and repeat help page.
  • You just used Undo. F4 and Ctrl+Y redo first. Do a fresh action, then try again.
  • The last action can’t be repeated. Check whether the Repeat button says Can’t Repeat.
  • Another program grabbed the key. Some utilities assign F4 to their own shortcuts. Use Ctrl+Y instead, or close the other program.
  • The shortcut was reassigned. Go to File > Options > Customize Ribbon, select Customize next to Keyboard shortcuts, choose All Commands, and look up EditRedoOrRepeat to see or add its keys.

Add a Repeat button

If you prefer clicking, you can put Repeat on the Quick Access Toolbar in Word for Windows:

  1. Select the Customize Quick Access Toolbar arrow, then More Commands. If the toolbar is hidden, right-click the ribbon and choose Show Quick Access Toolbar first.
  2. Set Choose commands from to All Commands.
  3. Select Repeat, then select Add.
  4. Select OK. The Repeat button appears on the toolbar.

Repeat on a Mac and in Word for the web

In Word for Mac, Command+Y repeats or redoes, following the same rules as Ctrl+Y on Windows. The F4 key on a Mac keyboard usually controls system features, so rely on Command+Y.

In Word for the web, Ctrl+Y (Command+Y on a Mac) works as Redo, but the browser version may not repeat every action the desktop app does. For repeated formatting there, Format Painter or a style is the more dependable choice.

Advertisements