Solved

How to Link password protected Excel File as a Table in MS Access

Posted on 2006-10-26
7
1,084 Views
Last Modified: 2012-05-05
Hello,

Title of my questions says all.

I have a password protected Excel file and I would like to link this file to MS Access table.

I can link unprotected Excel file.  But Excel file with password gives me some wiered error message.

Please help
0
Comment
Question by:Jagdish_Bodani
  • 2
  • 2
7 Comments
 
LVL 15

Accepted Solution

by:
MNelson831 earned 63 total points
ID: 17815490
I do not think that this can be done.  Also, I suspect that an answer to this question would violate EE's TOS agreement regarding efforts to defeat security measures.  Sorry
0
 
LVL 15

Expert Comment

by:MNelson831
ID: 17815498
I do think that you can link to the file if it has already been opened, but that is rarely useful.  If you have to open the file everytime that you want the database to connect to it then the purpose of having a linked table is usually moot.
0
 
LVL 74

Assisted Solution

by:Jeffrey Coachman
Jeffrey Coachman earned 62 total points
ID: 18034685
Jagdish_Bodani,

MNelson831 is correct...
Can't be done.
http://support.microsoft.com/kb/257819
(MNelson831, I thought I could sneak around this by using ADO, but no such luck!)
:(


Jagdish_Bodani, your only options would be to unprotect the Excel file or to dump Excel altogether, and use Access.
0
 

Expert Comment

by:GenevaITguys
ID: 34961240
There should still be a way to link using the password. If you have the password, the access is most probably valid, no ?
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 34961553
GenevaITguys,

Again, the ADO code will link to the Excel file, but the text in the link clearly states:
<On the Connection tab, browse to your workbook file. Ignore the "User ID" and "Password" entries, because these do not apply to an Excel connection.  You cannot open a password-protected Excel file as a data source...>

http://support.microsoft.com/kb/257819

I quickly researched using DAO, but I did not find a direct way to do this either.

So as with anything,...
There may be a way, ...I just can't find one.

;-)

JeffCoachman

0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now