question

DavidDai-9933 avatar image
0 Votes"
DavidDai-9933 asked BobJohnson-6874 edited

In excel VBA,Application.OnRepeat does not work.

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

not-supported
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers