Opening another Access Database file with VBA

  • Follow


I am in one of my Access database files, and wish to use a command button to 
open another database file.  How is this done?

0
Reply Utf 1/10/2010 5:00:01 AM

On Sat, 9 Jan 2010 21:00:01 -0800, VWP1
<VWP1@discussions.microsoft.com> wrote:

There are several ways. Perhaps the simplest is using the Shell
function. Check the help file.

-Tom.
Microsoft Access MVP


>I am in one of my Access database files, and wish to use a command button to 
>open another database file.  How is this done?
0
Reply Tom 1/10/2010 5:29:10 AM


On Sat, 9 Jan 2010 21:00:01 -0800, VWP1 wrote:

> I am in one of my Access database files, and wish to use a command button to 
> open another database file.  How is this done?

Here is one method:
Application.FollowHyperlink "c:\PathToDatabaseFolder\MyDatabase.mdb"
-- 
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
0
Reply fredg 1/10/2010 5:28:01 PM

2 Replies
1789 Views

(page loaded in 0.079 seconds)

Similiar Articles:
















7/17/2012 10:09:50 AM


Reply: