How to Configure Word’s Repeat Last Action Shortcut for Format Painter Operations
🔍 WiseChecker

How to Configure Word’s Repeat Last Action Shortcut for Format Painter Operations

You want to apply the same formatting from one piece of text to many other parts of your document without clicking the Format Painter button over and over. Word has a built-in keyboard shortcut called Repeat Last Action that can replay your last Format Painter operation, but many users do not know how to set it up or that it even works with Format Painter. This article explains how to configure and use the F4 key or Ctrl+Y shortcut to repeat a Format Painter action across multiple selections. You will also learn how to verify the shortcut is assigned and what to do if it does not behave as expected.

Key Takeaways: Repeat Last Action Shortcut for Format Painter

  • Keyboard shortcut F4 or Ctrl+Y: Replays the last action, including a Format Painter copy operation, on a new selection.
  • File > Options > Customize Ribbon > Keyboard shortcuts > Customize: Location to verify or reassign the Repeat Last Action command.
  • Category: All Commands > Command: Repeat: The exact setting to check that F4 or Ctrl+Y is assigned to the Repeat command.

ADVERTISEMENT

How Repeat Last Action Works With Format Painter

The Repeat Last Action feature in Word stores the most recent editing or formatting command you performed and replays it when you press F4 or Ctrl+Y. When you use Format Painter to copy formatting from one selection and then apply it to a target, that entire operation becomes the “last action.” After that, you can select any other text and press F4 to repeat the same formatting application without reactivating Format Painter.

This shortcut only repeats the last action. If you type a character, insert a table, or perform any other command after the Format Painter operation, the Repeat command will replay that newer action instead. For the shortcut to work reliably with Format Painter, you must use it immediately after the first formatting application and before doing anything else.

Prerequisites for Using Repeat Last Action

You need Word 2010 or later on Windows 10 or Windows 11. The default keyboard assignments for F4 and Ctrl+Y must be intact. If you or an add-in has changed these assignments, the shortcut will not trigger the Repeat command. You also need a document that contains at least two separate text selections so you can test the workflow.

Steps to Use Repeat Last Action After a Format Painter Operation

Follow these steps to apply formatting from one source to multiple targets using the Repeat Last Action shortcut. Perform each step in order without interruption.

  1. Select the source text with the formatting you want to copy
    Highlight the text that already has the font, size, color, bold, italic, or other formatting you want to reuse. This can be a single word, a sentence, or a paragraph.
  2. Activate Format Painter
    On the Home tab, in the Clipboard group, click the Format Painter button. The mouse pointer changes to a paintbrush icon. This copies the formatting from the selected source text into memory.
  3. Apply the formatting to the first target
    Click and drag across the first piece of text where you want the formatting applied. Word applies the copied formatting immediately. After this click, the paintbrush cursor disappears and Format Painter deactivates.
  4. Select the next target text
    Without performing any other action, highlight the next portion of text that should receive the same formatting. Do not click anywhere else or press any keys except the selection.
  5. Press F4 or Ctrl+Y to repeat the Format Painter action
    Word immediately applies the same formatting to the newly selected text. The formatting matches exactly what you copied from the source in step 1.
  6. Repeat for additional targets
    Select the next text block and press F4 again. Continue this pattern for every target in your document. Each press replays the same formatting operation without reactivating Format Painter.

ADVERTISEMENT

If the Repeat Shortcut Does Not Work for Format Painter

Several factors can prevent F4 or Ctrl+Y from repeating a Format Painter operation. Below are the most common problems and how to resolve them.

F4 or Ctrl+Y Repeats the Wrong Action

This happens when you perform another action after the Format Painter application but before pressing the shortcut. For example, if you type a character, delete a word, or click a menu item, the Repeat command replays that newer action instead. To fix this, undo the unwanted action by pressing Ctrl+Z, then immediately select the next target and press F4. Alternatively, redo the Format Painter copy from the source text and repeat the entire sequence without interruptions.

F4 or Ctrl+Y Does Nothing

The keyboard shortcut may be unassigned or reassigned to a different command. To check this:

  1. Open the Customize Keyboard dialog
    Go to File > Options > Customize Ribbon. At the bottom of the dialog, click the Customize button next to Keyboard shortcuts.
  2. Locate the Repeat command
    In the Categories list, scroll down and select All Commands. In the Commands list, scroll until you find Repeat. Click it to select it.
  3. Verify the assigned keys
    In the Current keys box, you should see Ctrl+Y and possibly F4. If the box is empty, the shortcut is not assigned. If F4 is assigned to a different command like EditRedoOrRepeat, that command also works, but it may behave differently. To fix, select the conflicting assignment in the Current keys box and click Remove. Then click in the Press new shortcut key box, press F4, and click Assign.
  4. Close and test
    Click Close twice to exit all dialogs. Test the shortcut again with a new Format Painter operation.

Format Painter Copies the Wrong Formatting

If the source text contains mixed formatting, such as a word with bold and the rest of the sentence without bold, Format Painter may copy only the formatting of the first character or the character at the insertion point. To ensure consistent results, select only text that uses uniform formatting. For paragraph-level formatting like indentation or spacing, include the entire paragraph in the selection.

Repeat Last Action vs Double-Click Format Painter: Behavior Differences

Item Repeat Last Action (F4/Ctrl+Y) Double-Click Format Painter
Activation method Press keyboard shortcut after selecting target Double-click the Format Painter button before selecting targets
Number of applications Unlimited, one target per shortcut press Unlimited until you press Escape or click Format Painter again
Interruption tolerance Lost if any other action is performed between selections Remains active even if you scroll, switch windows, or perform minor edits
Mouse usage Minimal — select text and press a key Requires clicking the Format Painter button and selecting targets with the mouse
Best for Quick, repeated formatting when you keep your hands on the keyboard Large formatting tasks where you need to pause between selections

Common Mistakes and Things to Avoid

Performing Any Action Between Format Painter and the First F4 Press

The most frequent error is clicking the ribbon, scrolling the mouse wheel, or pressing an arrow key after the first Format Painter application. Each of these actions becomes the new “last action,” and F4 will repeat that instead. After applying formatting to the first target, move only the selection to the next target — do nothing else.

Using Format Painter on Non-Contiguous Selections

Format Painter cannot copy formatting from multiple non-adjacent selections at once. If you need to apply a complex combination of font, paragraph, and style settings that cannot be captured in a single Format Painter operation, create a character style or paragraph style instead. Then apply that style using a keyboard shortcut or the Styles pane.

Expecting Repeat to Work With the Format Painter Locked On

If you double-click Format Painter to lock it on, the Repeat Last Action shortcut is not necessary because Format Painter stays active until you press Escape. However, if you accidentally double-click Format Painter and then try to use F4, Word may behave unpredictably because the Format Painter is still expecting a selection. Always press Escape to turn off Format Painter before using the Repeat shortcut.

You can now use F4 or Ctrl+Y to repeat a Format Painter operation across multiple text selections without reactivating the tool each time. For the best results, keep your workflow uninterrupted between the Format Painter application and each press of the shortcut. If you need to repeat a complex set of formatting changes frequently, consider saving that formatting as a new style in the Styles pane for one-click access.

ADVERTISEMENT