I get Automation error when connecting to 2010 accdb password protected database from excel 2007 vba. The code is as below :'DIM STATEMENTSDim strMyPath As String, strDBName As String, strDB As String, strQuery As String, strMyDBPassword As StringDim i As Long, n As Long, lFieldCount As LongDim rng As Range'instantiate an ADO object using Dim with the New keyword:Dim adoRecSet As New ADODB.RecordsetDim connDB As New ADODB.Connection'--------------'THE CONNECTION OBJECTstrDBName = "33mSTUPV2.accdb"strMyPath = "v:\Arch_33"strDB = strMyPath & "\" & strDBNamestrMyDBPassword = "abcde"'strMyDBPassword = ""strQuery = "ds_Query1"connDB.Open "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & strDB & ";Jet OLEDB:Database Password=strMyDbPassword;"If i remove the password on the accdb file and try the above code with strMyDBPassword="", I am able to connect and proceed further.I want the code to work with the password on the accdb file.Can someone hlep. please?