I am using the following to open a db
I am unable to find the right code to open this db when is is encrypted.
Using Excel & Access 2016.
TIA
Code:
Sub dBConn()
Set cnConnection = CreateObject("ADODB.Connection")
cnConnection.Open "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & ActiveWorkbook.Path & "\" & strdBFile
End Sub
Using Excel & Access 2016.
TIA