Use application.references.count to know how many are active
& application.references.index(from 1 to application.references.count).name to know their name
It's hard to explain, but this is what I want to do:
Let's say you're in folder C:\temp & in that folder you have the file db1.mdb. When you select db1.mdb & press ENTER, Access opens & the form frm1 is launch on startup. But if you select db1.mdb & press SHIFT+ENTER, Access opens but doesn't...
It's not the window I want minimised. In an Access file, you can have a form load on startup (Tools-Startup). If you press SHIFT+ENTER on an selected Access file, the form doesn't load. I want to do the same thing but through VB, open a Access file without anything loading on startup
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.