You need to add the part in bold (where *** is your password):
VB Code:
  1. cn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
  2.       "Data Source= c:\my documents\DB1.mdb[b];User Id=admin;Password=***;[/b]"