open Access DB that is password protected

  • Thread starter Thread starter Shin
  • Start date Start date
S

Shin

I have the following code written in Excel VBA to open an
Access DB:

Set db = OpenDatabase("I:\test.mdb")

However, the DB is password protected. Is there anyway I
can write code to open the DB in the background? I know
how to do this for Excel but can't figure out how to do
it for Access.
 
Back
Top