Excel workbook using a pssword protected Access Database

crowegreg

New Member
Joined
Jan 14, 2014
Messages
4
Within Excel, I'm trying to use a password protected Access DB. From the data tab, selecting "From Access," after I locate the DB, a "Database Password" box pops up. Entering the database password just refreshes the screen.

After attempting several times, I decide to connect to the same database, located on a different drive with the password removed. Everything works fine.

I'm thinking this is bug within Microsoft. Has anyone come up with a solution? I'm assuming I need to write a connection string, but I'll need some assistance.

Thanks in advance!!
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

TerryHogarth21

Board Regular
Joined
Mar 20, 2012
Messages
245
I can confirm this with Access 2010 and 2013 to make it work.

1) Go into the Database in Exclusive Mode and Remove the Encrypted Password
2) in the File -> Options -> Client Settings -> Make sure to have the "Use Legacy Encryption" marked
3) Close the Database
4) Open up the Database in Exclusive Mode and Input a New Password

The Excel to Access Connection will now work with the password. Additionally you could also save the password in the connection property after doing so.
 

crowegreg

New Member
Joined
Jan 14, 2014
Messages
4
Thanks Terry. I had seen these instructions before, and when I tried them, they had no effect.

I must have been doing something wrong. When I followed your instructions, it just worked.

Thanks!!
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,168,113
Messages
5,857,453
Members
431,880
Latest member
kar2rost

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top