Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Checking for Open Access Files in VBA

Status
Not open for further replies.

daugelli

Technical User
Sep 16, 2003
2
US
I am trying to write a script in an Excel VB module that will allow me to check to see if an Access file is open before I attempt to open it from the script.

Thanks in advance for any and all help.
 
I should be a little more specific. The current line of code I am using to open the database instance looks like this:

Set DB = DBEngine.OpenDatabase(accessFile)

DB is of type Database
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top