running macros multiple times

T

Tara

Hello and thanks in advance!
I need some help with a project I'm doing in which I
have a macro that prints several different reports at
once. What I need is a form that will allow the user to
input the number of copies of this "report series" they
need. For example I may need 5 copies 3 different
reports, so I would need the macro to run 5 times
consecutively. Any ideas? Thanks again!!
 
S

Steve Schapel

Tara,

You can set up a secondary macro, using the RunMacro action, and in
the RepeatCount argument you can refer to the textbox on the form
where you have entered the number of copies, the equivalent of...
=[Forms]![NameOfForm]![CopiesTextbox]

- Steve Schapel, Microsoft Access MVP
 
G

Guest

Thanks for the help Steve! It worked great...

Tara
-----Original Message-----
Tara,

You can set up a secondary macro, using the RunMacro action, and in
the RepeatCount argument you can refer to the textbox on the form
where you have entered the number of copies, the equivalent of...
=[Forms]![NameOfForm]![CopiesTextbox]

- Steve Schapel, Microsoft Access MVP

Hello and thanks in advance!
I need some help with a project I'm doing in which I
have a macro that prints several different reports at
once. What I need is a form that will allow the user to
input the number of copies of this "report series" they
need. For example I may need 5 copies 3 different
reports, so I would need the macro to run 5 times
consecutively. Any ideas? Thanks again!!

.
 

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