I have automated a loop that creates a report, saves it to PDF, then attaches the PDF to an email to send to the client. Because of some parameter issues, the PDF needs to be created in the On Activate event of the report so that the information is displayed correctly.
In the on click event of the the form that feeds date parameters to the form, I open the report in print preview to trigger the PDF creation then close it then attach the PDF to the email. Click Yes Express takes care of Outlook security nonsense.
The end result is a lot of fleeting dialog boxes flickering across the screen. Is there a way to make all of these dialogs not display and maybe just display an hourglass instead?