UnsolvedCoding
Technical User
Hey all -
I am working on a project that has some things I have never encountered before.
Basically what happens is we get Access databases handed off to us regularly that is under a different name each time. Currently the process is to select the correct Access database, add a VBA module, manually copy and paste code into the VBA module and then run the code, close the database without saving the module, open excel and run the workbook that does everything else.
What I want to do is either input the code for the module into Access via code or adapt the Excel workbook to create a module that will use an input box to open the correct database, run the module in that database and then close out. In otherwords, use Excel to open Access, run the missing Access code, close Access without saving and continue forward with the Excel portion or the process.
Any ideas?
I am working on a project that has some things I have never encountered before.
Basically what happens is we get Access databases handed off to us regularly that is under a different name each time. Currently the process is to select the correct Access database, add a VBA module, manually copy and paste code into the VBA module and then run the code, close the database without saving the module, open excel and run the workbook that does everything else.
What I want to do is either input the code for the module into Access via code or adapt the Excel workbook to create a module that will use an input box to open the correct database, run the module in that database and then close out. In otherwords, use Excel to open Access, run the missing Access code, close Access without saving and continue forward with the Excel portion or the process.
Any ideas?