Repeat the last action in Microsoft Word and Excel
https://www.computersprofessor.com/2017/07/repeat-last-action-in-microsoft-word.html
Repeat the last action in Microsoft Word and
Excel
Using
the F4 key in Microsoft Office 2000
and above allows the user to repeat the last used action. For example, if you
have changed the font of a selected text and
want to change another portion of text to the same font, highlighting the text
and pressing F4 does this for you automatically.