Hello,
I will need your help.
I use the following code to open a database in access with vba.
I want before open the database to check if it is already open. If it is already open I dont want to open it again.
Thank you in advance.
Regards,
Dimitris
Check open database in vba
I will need your help.
I use the following code to open a database in access with vba.
Code:
Dim strfilePath As String
strfilePath = CurrentProject.Path & "\test.accdb"
Call Shell("msaccess.exe " & (strfilePath), vbMaximizedFocus)
DoEvents
Thank you in advance.
Regards,
Dimitris
0 commentaires:
Enregistrer un commentaire