I open an Access db, call it db1
Using VBA from db1 I open a second Access db, call it db2.
This is working fine.
The issue I am having is to close db1 using VBA in db2.
Once db2 is open and has focus the VBA code in db1 quits executing and therefore cannot reach my DoCmd.Quit line of code.
Access version = Microsoft 365 ProPlus
Windows version = 10
Hope this sounds familiar to someone and can please provide me with a solution.
Thank you in advance for your assistance.
Using VBA from db1 I open a second Access db, call it db2.
This is working fine.
The issue I am having is to close db1 using VBA in db2.
Once db2 is open and has focus the VBA code in db1 quits executing and therefore cannot reach my DoCmd.Quit line of code.
Access version = Microsoft 365 ProPlus
Windows version = 10
Hope this sounds familiar to someone and can please provide me with a solution.
Thank you in advance for your assistance.