graviz
Registered User.
- Local time
- Today, 10:49
- Joined
- Aug 4, 2009
- Messages
- 167
What is the easiest way to open another database with VBA and close the current one you are in. I've tried a couple ideas and when it does it, it closes right away. Any ideas?
Dim accapp As Access.Application
Set accapp = New Access.Application
accapp.OpenCurrentDatabase ("c:\blah.mdb")
accapp.Visible = True
Dim accapp As Access.Application
Set accapp = New Access.Application
accapp.OpenCurrentDatabase ("c:\blah.mdb")
accapp.Visible = True