K
kalle
Hi!
I'm trying to connect to a access db that have a password but with no
luck.
I use this code
Set con = New ADODB.Connection
con.Provider = "Microsoft.ACE.OLEDB.12.0"
con.Open ThisWorkbook.Path & "\file.accdb", "", "password"
con.CursorLocation = adUseClient
What is wrong?
Thanks in advance
*** Sent via Developersdex http://www.developersdex.com ***
I'm trying to connect to a access db that have a password but with no
luck.
I use this code
Set con = New ADODB.Connection
con.Provider = "Microsoft.ACE.OLEDB.12.0"
con.Open ThisWorkbook.Path & "\file.accdb", "", "password"
con.CursorLocation = adUseClient
What is wrong?
Thanks in advance
*** Sent via Developersdex http://www.developersdex.com ***