S
Sheila
The following applies to Word 2000, XP and 2003:
I have written some VBA macros. When the users are using them, both the
"Repeat" command in the "Edit" menu and the "Redo" button in the standard
toolbar are greyed out. The "Undo" commands are okay though.
One of the macros simply applies a style to the selected text:
ActiveWindow.Selection.Style = ActiveDocument.Styles(sStyle)
(sStyle being the tag of the action control clicked by the user)
The users would like to repeat that command by using [ctrl]+[y] or by using
[F4] instead of having to navigate to the action control with the mouse.
How can I make the repeat/redo commands accessible for VBA macros, in
particular the above command?
Thanks in advance for any help!
Sheila
I have written some VBA macros. When the users are using them, both the
"Repeat" command in the "Edit" menu and the "Redo" button in the standard
toolbar are greyed out. The "Undo" commands are okay though.
One of the macros simply applies a style to the selected text:
ActiveWindow.Selection.Style = ActiveDocument.Styles(sStyle)
(sStyle being the tag of the action control clicked by the user)
The users would like to repeat that command by using [ctrl]+[y] or by using
[F4] instead of having to navigate to the action control with the mouse.
How can I make the repeat/redo commands accessible for VBA macros, in
particular the above command?
Thanks in advance for any help!
Sheila