Application.Repeat Method (Excel)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Repeats the last user-interface action.

expression .Repeat

expression A variable that represents an Application object.

This method repeats only the last action taken by the user before running the macro, and it must be the first line in the macro. It cannot be used to repeat Visual Basic commands.

This example repeats the last user-interface command. The example must be the first line in a macro.

Application.Repeat
Show: