I wrote one VBA script ,when i open the report that report runs for last week and saves as pdf and bo rep format .
Now my question is after execution of 1’st report close 1st report and open 2nd report run and close .If any one have any script can you please help me out.
I am using 6.5.1
Thanks in advance.
Here is the VBA script which i am using in each report .
Please tell what i need to add to this script to close the current report and to open other report.
Well, just use the .Open and .Close methods. Do you have a specific list of reports you want to open? Or maybe it’s just all the reports in a given subdirectory? Depending on the answer, the “wrapper” approach might be different.
I have 6 reports in 1 folder when i open 1st report it will run automatically and saves in folder after this i want to close the report1 and open report2 .
After execution of report 2 close report 2 and open report3…
Take a look at the code in this utility. It has a different purpose, but does use the “cycle through a directory, open, do something, close” technique.