Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Repeat a macro?
Is there a way to tell a macro to loop -- keep playing itself over and over?
|
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Repeat a macro?
Yes.
If you want more information, you'll have to tell us more about what it is you are trying to do. -- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome! --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. "JLeck" wrote in message ... Is there a way to tell a macro to loop -- keep playing itself over and over? |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Repeat a macro?
Charles,
There is enough there to answer the question ;-) Yes, try: Sub Test() Do MsgBox "Click OK over and over and over until" _ & " you tire of this example. To stop" _ & " the madness, press CTRL+Break" Loop End Sub |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Table in a Form | Tables | |||
Repeat macro until end of document | Microsoft Word Help | |||
Macro Button Won't Stay on Toolbar | Microsoft Word Help | |||
Possible bug when recording a Word Macro | Microsoft Word Help | |||
2000 to 2002 macro and "Could not open macro storage" | Mailmerge |