How do I link a password protected excel file in access?

J

Janet

I have an Excel workbook with a password to open. I need to use it as a
linked table in an Access 2003 database. The error I get is that it cannot
decrypt the file.
 
J

John Nurick

Hi Janet,

As far as I know, Access's Jet database engine can only link to a
protected workbook if it is already open in Excel.

You can open it manually or write code that launches Excel and opens the
workbook using Excel's Workbooks.Open method, which takes a password
argument.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top