Open a file

Rob.Mills

Registered User.
Local time
Today, 06:58
Joined
Aug 29, 2002
Messages
871
Is there an easy way to open a file from vba code?
 
Many ways for many purposes, depending upon what you want to do with what file...

More input?

Regards
 
Well I am trying to setup some code in a module, that would when complete be transferred to a vbs file, that would open up a database file.

I've been trying to use OpenCurrentDatabase with the Access.Application object. In the code I set the object to visible. But as soon as the code stops running the window closes. So it's only open for a fraction of a second.

Know of a way to open a database and leave it open?
 

Users who are viewing this thread

Back
Top Bottom