G
Guest
I'm a novice with VBA.
I need to design a "PRINT ALL" button. Right now, users can select an
office from a combo box on a form. A macro is set up and functioning that
gathers information and prints a report for that office. I need to use VBA
to loop through all the possible offices one by one and print the reports.
I would normally set this up so that a user could leave the control blank
and the format of the report would be such that all the reports would print
in order, but this particular report has 10 subreports and getting it to work
that way has prooved elusive. It would be preferable just to set up code to
loop through each of the reports.
Thanks for any help you can provide.
I need to design a "PRINT ALL" button. Right now, users can select an
office from a combo box on a form. A macro is set up and functioning that
gathers information and prints a report for that office. I need to use VBA
to loop through all the possible offices one by one and print the reports.
I would normally set this up so that a user could leave the control blank
and the format of the report would be such that all the reports would print
in order, but this particular report has 10 subreports and getting it to work
that way has prooved elusive. It would be preferable just to set up code to
loop through each of the reports.
Thanks for any help you can provide.