Hi guys!
I have a big selection of databases, each with macros which have to be run on a daily basis. What I am looking to do is to create a new database and use that to launch the macros within the other databases in turn.
However, I also have the concern of poor hardware so I don't want too many Access windows open at once. Ideally I'd like to be able to limit the number open or even pause it while each one is being run.
My current plan is either a long macro with a row manually added for each macro which I want to run within each database (or a few lines per macro if that's what's needed) or a table full of database paths & macro names and looping through the table in VBA.
Before I start looking into the best methods of running macros in external databases I thought I'd see if anyone here has knowledge (or better yet a sample database) of the best way to do this.
The most important thing for me will be that it either runs one external macro and pauses until it finishes (the external macros all end with quit to close the database which they are a part of) or to limit the number running at once.
Simply telling my old workstation to similtaniously run 40-50 external macros spread across a few dozen databases will just cause it to grind to a halt!
:edit:
Sadly, this is Access 97.
I have a big selection of databases, each with macros which have to be run on a daily basis. What I am looking to do is to create a new database and use that to launch the macros within the other databases in turn.
However, I also have the concern of poor hardware so I don't want too many Access windows open at once. Ideally I'd like to be able to limit the number open or even pause it while each one is being run.
My current plan is either a long macro with a row manually added for each macro which I want to run within each database (or a few lines per macro if that's what's needed) or a table full of database paths & macro names and looping through the table in VBA.
Before I start looking into the best methods of running macros in external databases I thought I'd see if anyone here has knowledge (or better yet a sample database) of the best way to do this.
The most important thing for me will be that it either runs one external macro and pauses until it finishes (the external macros all end with quit to close the database which they are a part of) or to limit the number running at once.
Simply telling my old workstation to similtaniously run 40-50 external macros spread across a few dozen databases will just cause it to grind to a halt!
:edit:
Sadly, this is Access 97.