April 2006
Beginner
1114 pages
98h 16m
English
Application.OnRepeat(Text, Procedure)
Reassigns the Repeat item on the Edit menu (Ctrl-Y).
|
Argument |
Setting |
|---|---|
|
|
The text to display instead of Repeat... |
|
|
The procedure to run when the user chooses Edit → Repeat or presses Ctrl-Y. |
The following code replaces the Repeat item on the Edit menu with the item Do Over and runs the DoOver procedure with the user selects the item:
Sub TestOnRepeat( )
Application.OnRepeat "Do over", "DoOver"
End SubRead now
Unlock full access