In excel VBA,Application.OnRepeat does not work.

David Dai 1 Reputation point
2021-02-19T00:56:04.98+00:00

Sub tmp() Application.OnRepeat "VBA-redo", "My_Repeat_Sub" Application.OnUndo "VBA-Undo", "undo" End Sub Sub My_Repeat_Sub() Debug.Print "REPeat" End Sub Sub undo() Debug.Print "undo" End Sub

Community Center | Not monitored
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.