I have a macro in a report which runs great, but I have to mannually run it after the document has refreshed.
I put the VBA code into the following format, but it still doen't run.
The report is set to autorefresh on open. And I have prompts that have to be filled in as well.
Thanks.
I put the VBA code into the following format, but it still doen't run.
Code:
Private Sub Document_AfterRefresh
EndSub
The report is set to autorefresh on open. And I have prompts that have to be filled in as well.
Thanks.