View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
kalle kalle is offline
external usenet poster
 
Posts: 27
Default Coonect to access with password



Hi.

I use this code to connect to my database at work.

Set con = New ADODB.Connection
con.Provider = "Microsoft.Jet.OLEDB.4.0"
con.Open ThisWorkbook.Path & "\my.mdb"

Now I want to protect the database with a password. But it does't work.
Can anyone help me?

Thanks in advance

*** Sent via Developersdex http://www.developersdex.com ***