M
Margaret Bartley
My VBA module prints out 18 versions of the same report, with a different
record source each time.
I can't figure out how to get the code to stop and let the user look the
report, print it out if required, and then continue to the next version.
I tried putting in a msgbox function ("Do you want to print the report?",
vbYesNo), but that did not allow the user to select the report, and print
it, all it did was allow the user to click the msgbox button, and continue
the loop.
When the loop continues, it just replaces each report with the new one, so
the only way to see the first 17 reports is to send them to the printer,
which is a really embarrassing thing to have to say.
Any help?
TIA,
Margaret
record source each time.
I can't figure out how to get the code to stop and let the user look the
report, print it out if required, and then continue to the next version.
I tried putting in a msgbox function ("Do you want to print the report?",
vbYesNo), but that did not allow the user to select the report, and print
it, all it did was allow the user to click the msgbox button, and continue
the loop.
When the loop continues, it just replaces each report with the new one, so
the only way to see the first 17 reports is to send them to the printer,
which is a really embarrassing thing to have to say.
Any help?
TIA,
Margaret