Repeat Macro

J

Jan Groshan

What is the command to repeat a macro in Word 2007? I want to run a macro on
a long list and want the macro to repeat 100+ times.
 
P

Per Jessen

Hi

Set up a loop in another macro which call the macro.

sub RepeatMacro ()
for r=1 to 100
MyMacro
Next
End Sub

Regards,
Per
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top